Click here to Skip to main content
16,019,957 members
Articles / General Programming

Using enumerators for a better code

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
16 Jan 2011CPOL 4.2K  
Look at switch/case, this is much better.Also, if you make the enum public then it can be accessed outside the class.

Views

Daily Counts

License

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



Comments and Discussions