Leap year check in C#/Javascript

The easiest way to check if the year supplied to your app is a leap one just execute the if statement below

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.