Answers for "c# see if string in in enum"

C#
1

c# enum check in string value

if (System.Enum.IsDefined(MyEnumType, MyValue))
{
    // Do something
}
Posted by: Guest on September-02-2020

C# Answers by Framework

Browse Popular Code Answers by Language