In C# the Main class has string[] args parameter.
What is that for and where does it get used?
This is an array of the command line switches pass to the program. E.g. if you start the program with the command "myapp.exe -c -d" then string[] args[] will contain the strings "-c" and "-d".
myapp.exe -c -d
string[] args[]