C#: How to detect arguments typed into console application?

前端 未结 8 1402
长情又很酷
长情又很酷 2020-12-13 02:43

How would I go upon detecting input for a console application in C#?

Let\'s say for example I want the console application to start up by writing: Welcome To Food Hu

8条回答
  •  轮回少年
    2020-12-13 03:20

    To skip coding basics, you might want to take a look inside Genghis project's Command line parsing sub-project by Chris Sells. It's first one in the table on linked page.

提交回复
热议问题