ENUMERATIONThe verbal meaning of enumeration is nothing but "counting". The enum keyword in C# is used to declare an enumeration. The default type of enumeration is int. The default value of the first element is "0". For every successor the value "1" will be incremented.The syntax to declare an enum is:[attributes] [modifiers] enum identifier [:base-type] {enumerator-list} [;]attributes -Optionalmodifiers -Optionalidentifier - enum base-type - OptionalThe default is int. Can't use char.enumerator-listExample 1:using System;class Program{ enum Days { a = 5, b, c, d, e, f }; public static void Main() { long x = (long)Days.a; long y = (long)Days.c; Console.WriteLine(x.ToString()); Console.WriteLine(y.ToString()); }}Output 27Here the declared value of a is 5; if not declared then the default value will be 0. For each variable the value is increment by 1.a=5b=6 c=7d=8 e=9f=10Example 2:using System;class Program{ enum Days { a = 5, b, c = 10, d, e, f }; public static void Main() { long x = (long)Days.a; long y = (long)Days.d; Console.WriteLine(x.ToString()); Console.WriteLine(y.ToString()); }}Output511The value of other variablesa=5 b=6 c=10 d=11 e=12 f=13Example 3using System;class Program{ enum Range : long { max = 100, min = 10 } public static void Main() { long x = (long)Range.max; long y = (long)Range.min; Console.WriteLine(x.ToString()); Console.WriteLine(y.ToString()); }}