Arguments with foreach statment from .NET