Enums code snippets (6)

How to get display name (DisplayAttribute) from Enum value

Published: 9. March 2014 | Updated: 9. March 2014
Categories: Attributes Reflection
Tags: Attributes C# Enums Localization Text

How to get array of values from Enum type

Published: 2. February 2014 | Updated: 2. February 2014
Categories: Enums
Tags: Array C# Conversion Enums

How to convert string to enum

Published: 23. November 2011 | Updated: 23. November 2011
Categories: Converting Enums
Tags: C# Enums Text Conversion

How to use and retrieve enum description attribute

Published: 4. November 2011 | Updated: 4. November 2011
Categories: Attributes Enums
Tags: Attributes C# Enums Text

How to iterate through enum values

Published: 30. September 2011 | Updated: 27. October 2011
Categories: Enums
Tags: C# Enums

How to get enum numeric value

Published: 9. October 2011 | Updated: 26. October 2011
Categories: Enums
Tags: C# Enums