Equals() 공개 메소드

Determines if this Date instance and another hold the same date.
public Equals ( Date other ) : bool
other Date The Date instance to compare with.
리턴 bool
예제 #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));
 }