C# Hello Universe
using System;
public class HelloDealWithCommandLineInput
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, Universe");
// iterate over command-line arguments, and print them out
for (int arg = 0; arg < args.Length; arg++)
Console.WriteLine("Arg {0}: {1}", arg, args[arg]);
}
}
Related examples in the same category