Best way to read commandline parameters in console application

后端 未结 4 554
暗喜
暗喜 2021-01-01 14:52

Below are two ways of reading in the commandline parameters. The first is the way that I\'m accustom to seeing using the parameter in the main. The second I stumbled on wh

4条回答
  •  抹茶落季
    2021-01-01 15:20

    Do you know getopt? There is a port for C# on codeplex: http://www.codeplex.com/getopt

提交回复
热议问题