Microsoft Windows [Version 6.0.6001] Copyright (c) 2006 Microsoft Corporation. All rights reserved. c:\>myapp.exe -arg1 Hello you chose the first option.
if ((args.Length > 0) && (args[0] == "-arg1")) { Console.WriteLine("Hello you chose the first option"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)