class Program { static void Main(string[] args) { foreach (var arg in args) { Console.WriteLine(arg); } } }
Console.WriteLine("Hello world");
MyApp.exe Arg1 Arg2 Arg3