.NET, converting a string to an enum

Here is a handy article that I found which explains how to convert a string into an enum value, it uses the Enum.Parse() function:

 

http://blogs.msdn.com/b/tims/archive/2004/04/02/106310.aspx