public static void Main()
var program = new Program();
Console.WriteLine(program.checkIfExistsInEnum("Requested"));
Console.WriteLine(program.checkIfExistsInEnum("requested"));
Console.WriteLine(program.checkIfExistsInEnum("Bla"));
public bool checkIfExistsInEnum(string value)
return Enum.GetNames(typeof(OrderStates))
.Any(x => x.ToLower() == value.ToLower());