Check if the Year is Leap Year or Not in C#

How to check if the Year is Leap Year or Not? Using DateTime keyword we can easily find out whether the Year is Leap Year or Not in C#.

int varYear = 2010;
bool varResult = DateTime.IsLeapYear(varYear);
if (varResult.Equals(true))
{
        Response.Write(varYear + " is a Leap Year");           
}
else
{
        Response.Write(varYear + " is not a Leap Year");           
}