public class CommandLine { public static void Main(string[] args) { Console.WriteLine("Number of command line parameters={0}", args.Length); Console.ReadKey(); for (int i = 0; i < args.Length; i++) { Console.WriteLine("args[{0}]=[{1}]", i, args[i]); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)