Using enumerators for a better code





0/5 (0 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.