Equals() public method

Determines if this Date instance and another hold the same date.
public Equals ( Date other ) : bool
other Date The Date instance to compare with.
return bool
Exemplo n.º 1
0
 /// <summary>
 /// Determines if two <see cref="Date"/> values are different.
 /// </summary>
 /// <param name="lhs">The <see cref="Date"/> to compare.</param>
 /// <param name="rhs">The <see cref="Date"/> to compare to.</param>
 /// <returns><c>true</c> if the two <see cref="Date"/> values are different.</returns>
 public static bool NotEqual(Date lhs, Date rhs)
 {
     return (!lhs.Equals (rhs));
 }