Returns a bool value indicating whether a specified year is a leap year.
[Edit]
public static bool IsLeapYear (int year) |
|
Parameters
- year
- A int representing the year. year can be positive or negative.
[Edit]
Returns
true if the specified year is a leap
year; otherwise, false.
[Edit]
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0