Spaghetti Tom
Wednesday, February 8, 2012
cast string to enum
Colors colorValue = (Colors) Enum.Parse(typeof(Colors), colorString);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment