C# - How do I access command line arguments sent to my application from a non-main method?
By [)ia6l0 iii
Use the GetCommandLineArgs static method of the Environment class. It returns an array of the arguments.
String[] arguments = Environment.GetCommandLineArgs();
C# - How do I access command line arguments sent to my application from a non-main method? (1137 Views)