コード例 #1
0
 /// <summary>
 /// Determines if two SocialSecurityNumber objects are equal.
 /// </summary>
 /// <param name="other">The other number.</param>
 /// <returns><c>true</c> if equal, <c>false</c> otherwise.</returns>
 public bool Equals(SocialSecurityNumber other)
 {
     return(AreaNumber.Equals(other.AreaNumber) && GroupNumber.Equals(other.GroupNumber) && SerialNumber.Equals(other.SerialNumber));
 }
コード例 #2
0
 /// <summary>
 /// Determines if two SocialSecurityNumber objects are equal.
 /// </summary>
 /// <param name="other">The other number.</param>
 /// <returns><c>true</c> if equal, <c>false</c> otherwise.</returns>
 public bool Equals(SocialSecurityNumber other)
 {
     return AreaNumber.Equals(other.AreaNumber) && GroupNumber.Equals(other.GroupNumber) && SerialNumber.Equals(other.SerialNumber);
 }