Correct way to implement C# console application?

后端 未结 5 783
爱一瞬间的悲伤
爱一瞬间的悲伤 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:42

    I've opted to write a number of console utility apps as windows form applications instead of console apps. Generally, I add a timer to delay initial start and just add a cancel button with a progress meter--thus allowing a more intuitive cancel option. You can still output to the console that way too.

提交回复
热议问题