namespace ProgramToCheckLeapYear
public static void Main(string[] args)
Console.Write("Enter the Year :");
year = Convert.ToInt32(Console.ReadLine());
if (year % 400 == 0 || (year % 4 == 0 && year % 100 != 0))
Console.WriteLine("Year is Leap Year");
Console.WriteLine("Year is not a Leap Year");