﻿namespace _06.Enums
{
    using System;

    public class Startup
    {
        public static void Main(string[] args)
        {
            var day = DayOfWeek.Wed;
            Console.WriteLine(day); // Wed

            Console.WriteLine((int)day); // 2

            day = DayOfWeek.Mon;
            Console.WriteLine(++day); // Tue

            day = (DayOfWeek)Enum.Parse(typeof(DayOfWeek), "Mon");
            Console.WriteLine(day); // Mon
        }
    }
}
