Data Type C# Tutorial

using System; 
 
class MainClass { 
  enum Week { Monday, Tuesday, Wednesday, Thursday, Friday, Saturaday,Sunday }; 
 
  public static void Main() { 
    Week i;
 
    
    for(i = Week.Monday; i <= Week.Sunday; i++)  
      Console.WriteLine("Color of " + i + " is "+ (int)i); 
 
  } 
}
Color of Monday is 0
Color of Tuesday is 1
Color of Wednesday is 2
Color of Thursday is 3
Color of Friday is 4
Color of Saturaday is 5
Color of Sunday is 6