Now you are just asking for trouble! ;)
Of course, the answer is....
static void Main(string[] args)
What else do you expect? I have seem some argument "frameworks" (for lack of a better term) that simplify dealing with the args. But ultimately in the end, you simply have to parse the array and look for all the things you expect to find.
I'm not sure why MS has not made it a little easier to deal with this but I guess the "argument" (har har) would be that you are going from a very uncontrollable world (the command line) to a very controlled world (managed .NET). Short or handling the parsing of the command line by giving you an array of space delimited values you have to figure out what it all means on your own.
Try googling for c# command line argument helpers or something similar. I have used such a helper but can't remember for the life of me where I found it. It was a long time ago that I used it.
-
Peter