KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Imagine I have defined the following Enum: public enum Status : byte { Inactive = 1, Active = 2, } What's the best practice to use enum? Should it start with 1 like the above example or start with 0 (without the explicit values) like this: public enum Status : byte { Inactive, Active }
Tags (comma-separated)
Save Edits
Cancel