I want to write a function which can validate a given value (passed as a string) against possible values of an enum. In the case of a match, it should return th
The only way to avoid exception handling is to use the GetNames() method, and we all know that exceptions shouldn't be abused for common application logic :)