Friday, April 02, 2004

How do you convert a string into an enum?

How do you convert a string into an enum?

object Enum.Parse(System.Type enumType, string value, bool ignoreCase);