praveenuni
asked on
Difference between enumerators and constants
Hello
What is the difference between enumerators and constants ? Constants seems to be more easier to use than enumerators, because in enumerators you have to cast to int to access the value which leads to more confusion.
I have seen many programs which uses enums than constants. Any specific reason why developers are more biased to enumerators ?
What is the difference between enumerators and constants ? Constants seems to be more easier to use than enumerators, because in enumerators you have to cast to int to access the value which leads to more confusion.
I have seen many programs which uses enums than constants. Any specific reason why developers are more biased to enumerators ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks DarkoLord.
- http://www.csharp-station.com/Tutorials/Lesson17.aspx
- http://www.braintique.com/csharp/chapters/01ch03.shtml