c# if statement that determines leap year code example Example: c# leap year check (DateTime.IsLeapYear(jaartal))