J
John A Grandy
Primitives like Int32 provide a Parse() method , and TryParse() method --
which is very useful.
Enum provides a Parse() method, but not a TryParse() method.
Other than wrapping the Enum.Parse() in an exception handler , can someone
recommend a technique similar to TryParse() ?
Thanks.
which is very useful.
Enum provides a Parse() method, but not a TryParse() method.
Other than wrapping the Enum.Parse() in an exception handler , can someone
recommend a technique similar to TryParse() ?
Thanks.