Certainly! Here’s a simple C# program that checks if a given year is a leap year:
```csharp
using System;
class Program
{
static void Main()
{
Console.WriteLine("Enter a year:");
int year;
// Input validation
while (!int.TryParse(Console.ReadLine(), out year))
{
Console.WriteLine("Invalid input. Please enter a valid year:");
}
if (IsLeapYear(year))
{


