Hi all,
Suppose I want my executable to accept the following argument format:
where the arguments may be in any order; some required, some optional.Code:exename -arg1 val1 -arg2 val2
Currently I am using the args parameter of the Main method, joining it into a string, and using regular expressions to get the -k v pairs. This is rather ugly.
I'd like to know if there is a neater way of handling this.
Cheers
- P




Reply With Quote