public static void Main()
Program obj = new Program();
Console.WriteLine("Enter the Year in Four Digits : ");
y = Convert.ToInt32(Console.ReadLine());
if ((y % 4 == 0 && y % 100 != 0) || (y % 400 == 0))
Console.WriteLine("{0} is a Leap Year", y);
Console.WriteLine("{0} is not a Leap Year", y);