+ 2
And if you don't have the need to access command line arguments you can leave out the string[] altogether and write "static void Main()". Please note that you can't have both - either the string[] version or the other one.
0
Once your code is compiled, you can call your program sending arguments thru the args[] array. For example: doSomething.exe will have an empty args[] array, but doSomething.exe a --b c will have the args["a","--b","c"] and then you can process those parĂĄmetros into your programm..