Answers for "enum contains string c#"

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