public static void Main()
Console.WriteLine("Введите год ");
int year = Int32.Parse(Console.ReadLine());
if (year % 4 != 0 || year % 100 == 0 && year % 400 != 0) {
Console.WriteLine(year + " НЕ високосный год.");
Console.WriteLine(year + " високосный год.");