if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0)
{
Console.WriteLine("你输入的year是闰年");
}
}