Given the following enum:
public enum Position
{
Quarterback,
Runningback,
DefensiveEnd,
Linebacker
};
Is it possible to classify the named constants, such that I could mark ‘Quarterback’ and ‘Runningback’ as offensive positions and ‘DefensiveEnd’ and ‘Linebacker’ as defensive positions?
Why not KISS: