M
mrmagoo
Is it possible to view enum values in the order that I have defined them?
Public Enum Size
Small
Medium
Large
Biggest
End Enum
I love Enums because they make my life easier, but, because they are
alphabetized, it seems easier to make a mistake and pick the wrong one. When
I assign a value from this enumeration, I think "I'll pick the last one
because that's the biggest", but the I have to do a double-take and search
within the list because they have been alphabetized.
Is there a way to preserve the original list order?
Public Enum Size
Small
Medium
Large
Biggest
End Enum
I love Enums because they make my life easier, but, because they are
alphabetized, it seems easier to make a mistake and pick the wrong one. When
I assign a value from this enumeration, I think "I'll pick the last one
because that's the biggest", but the I have to do a double-take and search
within the list because they have been alphabetized.
Is there a way to preserve the original list order?