.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

 
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *