public static void Main(String[]args)
leapyear obj=new leapyear() ;
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) ;