argumen konsol .NET

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Total Arguments: {0}", args.Length);
        foreach (var arg in args)
            Console.WriteLine(arg);
    }
}

// run in console
C:/path/myprogram.exe "First Arg" 10 20
Hobbes