Personal Blog
Friday, September 12, 2008
Easy way to parse enums?
This is how to do it:
MyEnum x = (MyEnum)Enum.Parse( typeof( MyEnum ), "SomeString" );
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Monika
View my complete profile
Dev Blog
This is my personal dev blog. I created it for my own good - just to take notes of things that I find interesting during my work. If these pages could help anyone else it would be very nice.
Blog Archive
►
2011
(1)
►
April
(1)
▼
2008
(13)
▼
September
(1)
Easy way to parse enums?
►
June
(3)
►
April
(1)
►
March
(7)
►
January
(1)
►
2007
(14)
►
November
(12)
►
October
(2)
Followers
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
No comments:
Post a Comment