Wednesday, April 18, 2012

Get Enum Integer Value by String

(int)Enum.Parse(typeof(EnumName), value);

No comments:

Post a Comment