(1)System.Environment.CommandLine; //获得字符串
(2)System.Environment.GetCommandLineArgs();//获得字符串数组
(1)System.Environment.CommandLine; //获得字符串
(2)System.Environment.GetCommandLineArgs();//获得字符串数组
转载于:https://www.cnblogs.com/DaiMaDi/archive/2012/03/04/2379560.html