<p>I need to validate an integer to know if is a valid enum value.</p>

<p>What is the best way to do this in C#?</p>

Brad Abrams specifically warns against
```
Enum.IsDefined
```
in his post
The Danger of Oversimplification
.
The best way to get rid of this requirement (that is, the need to validate enums) is to remove ways where users can get it wrong, e.g., an input box of some sort. Use enums with drop downs, for example, to enforce only valid enums.