coding C# 取得命令列參數 Defence Minister Read more posts by this author. Defence Minister 29 Aug 2008 • 1 min read string[] args = Environment.GetCommandLineArgs(); foreach(string arg in args) { // do something }