Enumerated Data Types is a User Defined Datatype
1. Enums can be a subtype of an integer.
2. Enum is a collection of constants and can be used for more readability in code.
3. The default value of the first Enum member is “0”.
4. Enum is a User-defined datatype.
Sun=1, Mon, Tues, Wed, Thus, Fri, Sat
int main( )
enum WeekDay wd;
wd = Sun;
Mr. Sandeep Soni
Founder, Trainer & CEO, Deccansoft Software Services.
Sandeep has 21 yrs of experience working in various Microsoft Technologies/Platforms incl. VB6.0, ASP, VC++, VB.NET, C#. He is involved in managing and architecting projects at Deccansoft. He will be your liaison to Deccansoft, for any kind of communication and project updates. He knows what works and what doesn’t, and what practices are most suitable for design and programming with the ultimate goal of producing a quality system.