What's the best way in code to compare enum values? For example, if I have the following enum type:
public enum Level : short {
Low,
FairlyLow,
QuiteLow,
NotReallyLow,
GettingHigh,
PrettyHigh,
High,
VeryHigh,
}
And I want to be able to write statements such as:
from v in values select v where v > Level.QuiteLow