Click here to Skip to main content
13,559,559 members
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

2.6K views
Posted 16 Jan 2011
Licenced CPOL

Using enumerators for a better code

, 16 Jan 2011
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author


You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web02 | 2.8.180527.1 | Last Updated 16 Jan 2011
Article Copyright 2011 by Trollslayer
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid