Answers for "convert enum name to a string c#"

C#
0

how to pass string value to enum in c#

MyEnum myEnum = (MyEnum)Enum.Parse(typeof(MyEnum), myString);
Posted by: Guest on December-11-2020

C# Answers by Framework

Browse Popular Code Answers by Language