I want to check that some integer type belongs to (an) enumeration member.
For Example,
public enum Enum1 { member1 = 4, member2 = 5, m
Be careful this won't work if you have an enum for 3 (Apples and Pears) the methods above won't detect it as valid.
[Flags] public enum Fruit { Apples=1, Pears=2, Oranges =4, }