Click here to Skip to main content
Click here to Skip to main content
Alternatives (1)

Tagged as

Quick And Dirty Option Lists using Enums

, 3 Jun 2014
Using Enum to provide a quick and easy option lists

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

12 Sep 2011
ChunkyStool
In C#, I just call ToString to get the name. It's quicker and dirtier...namespace EnumTest{ using System; using System.Linq; enum ListOfChoices : int { Yes, No, Possibly, Never, Pass } class Program { ...

License

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

Share

About the Author

DaveAuld
Engineer
Scotland Scotland
I have been working in the Oil & Gas Industry for over 20 years now.
 
Core Discipline is Instrumentation and Control Systems.
 
Completed Bsc Honours Degree (B29 in Computing) with the Open University in 2012.
 
Currently, Offshore Installation Manager for the Beryl Bravo platform, which is located ~180 miles NE of Aberdeen, Scotland in the Northern North Sea.
Formely on the Forties Charlie platform, which is located ~110Miles NE of Aberdeen.
Follow on   Twitter   Google+   LinkedIn

| | Privacy | Mobile
Web01 | 2.8.140821.2 | Last Updated 3 Jun 2014
Article Copyright 2011 by DaveAuld
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid