Answers for "c# check if enum contains string"

C#
1

c# enum check in string value

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

Code answers related to "c# check if enum contains string"

C# Answers by Framework

Browse Popular Code Answers by Language