I have an enum type like this as an example:
public Enum MyEnum { enum1, enum2, enum3 };
I\'ll read a string from config file. What I n
This is an old question, but now .NET 4.5 has Enum.TryParse().
http://msdn.microsoft.com/en-us/library/dd991317.aspx