using System;
public class Program
{
public static void Main(string[] args)
{
string[] arr = Environment.GetCommandLineArgs();
Console.WriteLine(string.Join(" ", arr));
}
}
// Set the arguments:
// Project -> Properties... -> Debug -> Start Options -> Command line arguments: _____
/*
run:
d:\...\ConsoleApplication_C_Sharp\bin\Debug\ConsoleApplication_C_Sharp.exe -q arg zip 7z w xyz
*/