How to know that the specified year is a leap year or not in vb.net

 
you can determine whether a particular year is a leap year or not with the help of IsLeapYear method.
you can use this method as:

Summary

IsLeapYear(year As Integer) As Boolean
where year is a 4-digit year.
It returns true if year is a leap year otherwise false.

Example

The following example shows that how we to determine which years between 1990 to 2010 are leap years with the help of IsLeapYear method.

  1. Private Sub GetLeapYear()
  2.         For year As Integer = 1990 To 2010
  3.             If DateTime.IsLeapYear(year) Then
  4.                 MessageBox.Show(year & " is a leap year.")
  5.             End If
  6.         Next
  7. End Sub