In console applications, when you run exe file (such as ipconfig) you can add parameters, such as /?, or some times its with – . My question is, is there some build in resource or right way to do it or its just on programmers decision and simple regex usage?
Share
That is completely a programmers decision. It is a good (recommended) way, to do nothing completely new to the user. So, if your program accepts “/” and “-” as well, it will be easy to use.