C# Access Command Line Arguments
This example shows how to print out the command line arguments using foreach.
Usage:
foreach (string argument in Environment.GetCommandLineArgs())
{
Console.WriteLine(argument);
}