DateTime.IsLeapYear
using System; class MainClass { public static void Main() { bool boolResult = DateTime.IsLeapYear(2004); Console.WriteLine("DateTime.IsLeapYear(2004) = " + boolResult); } }