In C#, the command line to a program is passed in as an array of strings. That’s easy to deal with, so long as your command line contains a list of identifiers. Many programs, however, use a syntax of switches followed by optional arguments, where the order of the switches is inconsequential. See the comments at the top of ArgumentParser.cs for full details.
Click here to know more..!