Tag: year

February leap year

C#: Is year a leap year or not? Code

Simple but quite common code used in a lot of situations where applications need to determine the date. This simple math based program allows us to easily determine if the year we have entered is a leap year or not.