C#: Convert String to Enum in .NET

6/26/2018 12:53:26 AM
var enumValue = (My_Enum_Values)System.Enum.Parse(typeof(My_Enum_Values), "string value of enum");