how to calculate leap year in c# code example Example: c# leap year check (DateTime.IsLeapYear(jaartal))