Extending Enumerations (fun with Enum<enum> and Attributes)(isi-net.com)
submitted by
RMuth(80) 2 years, 7 months ago
Enums are just great, but not very user friendly once you get past simple one word names. In this article I will show you how to make them far more usable via Attributes. We will be able to give them a user friendly name, parse strings to enum based on the enum’s value, member description, and user friendly description, and created orders lists and dictionaries. read more...
|category: C#
|Views: 377
tags:
C# another
Everyones tags:
Your Tags: