Enum Values With User Defined Strings, Made Easy(blogs.freshlogicstudios.com)
submitted by
freshlogic(20) 4 years ago
Every enumeration type has an underlying type, which can be any integral type except char. Which means that you can't associated a string value as the underlying type. This comes into play when you want to use the strongly typed features of an enumeration with a user friendly display value.
|category: C#
|Views: 8
tags:
C# another
Everyones tags:
Your Tags: