public static void Main()
Console.Write("Enter the year in four digits : ");
year = Convert.ToInt32(Console.ReadLine());
if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0))
Console.WriteLine(year + " is a Leap Year ");
Console.WriteLine(year + " is not a Leap Year ");