Click here to Skip to main content
15,885,366 members
Articles / Programming Languages / C#

TIP: Descriptions for enum values

Rate me:
Please Sign up or sign in to vote.
4.75/5 (4 votes)
23 Sep 2010CPOL 8K   3  
A consistent way to add descriptions to enumeration values by reflecting attributes

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Peru Peru


Computer Electronics professional, Software Architect and senior Windows C++ and C# developer with experience in many other programming languages, platforms and application areas including communications, simulation systems, PACS/DICOM (radiology), GIS, 3D graphics and HTML5-based web applications.
Currently intensively working with Visual Studio and TFS.

Comments and Discussions