C#getopt(命令行处理函数)
转自:http://www.codeproject.com/Articles/26502/GetOpt-for-NET C#中的getopt封装,方便处理cmd命令。添加引用后,使用范例如下: using CodePoints; using System; ... public static void Main ( string [] args ) { int c = 0, aflag = 0, bflag = 0; string cvalue = "(null)"; while ( ( c = GetOpt.GetOptions(args, "abc:") ) !
下载地址
用户评论
可以使用,但是7-zip解压不了,还得下载指定的快压解压软件
代码还可以。