using System;
public class Program
{
public void Main()
Console.WriteLine(TestDate(29, 2, 2016));
}
private bool TestDate(int day, int month, int year)
try
https://dotnetfiddle.net/DateTime date = new DateTime(year, month, day);
return true;
catch
return false;