Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

string to enum c# 3

StatusEnum MyStatus = (StatusEnum) Enum.Parse(typeof(StatusEnum), "Active", true);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #enum
ADD COMMENT
Topic
Name
6+9 =