KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel