65.9K
CodeProject is changing. Read more.
Home

Using enumerators for a better code

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Jan 16, 2011

CPOL
viewsIcon

4187

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.