Click here to Skip to main content
15,885,875 members
Articles / General Programming
Alternative
Tip/Trick

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.1K  
Look at switch/case, this is much better.Also, if you make the enum public then it can be accessed outside the class.
Look at switch/case, this is much better.
Also, if you make the enum public then it can be accessed outside the class.

License

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



Comments and Discussions

 
-- There are no messages in this forum --