In my query string, I have an age variable ?age=New_Born.
?age=New_Born
Is there a way I can check if this string value New_Born is in my Enum list
New_Born
You can use:
Enum.IsDefined(typeof(Age), youragevariable)