Correct way to implement C# console application?

后端 未结 5 776
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-23 21:49

What is the correct way to implement and architect a command line tool as a C# console application?

Concerns to address include proper parsing of command line variab

5条回答
  •  自闭症患者
    2020-12-23 22:44

    For command-line handling, check out Mono.GetOptions. It makes it easy to populate variables from short (-f style) and long (--file style) command line options.

提交回复
热议问题