Check out example codes for "c# enum check in string value". It will help you in understanding the concepts better.

Code Example 1

if (System.Enum.IsDefined(MyEnumType, MyValue))
{
    // Do something
}

Learn ReactJs, React Native from akashmittal.com