Bee Pee

How to read command line arguments in .net

 

More than often when we write Console Application in .net , we are are required to parse the command line arguments. And most of the times just parsing the arguments is not the operation you do. You need to validate the argument. It would be nice to have some library which we can use every time we build console applications in .net.

Args is just that sort of library.  

All we need to do is create a class with typed properties, the arguments which you need to pass in form the properties. The complete documentation is available on GitHub

Leave a Reply

Your e-mail address will not be published. Required fields are marked *