/// <summary> /// Compare to the given object for equality<br/> /// 检查是否与参数中对象相等<br/> /// </summary> /// <param name="other">Other object</param> /// <returns></returns> public bool Equals(Pair <TFirst, TSecond> other) { return(First.EqualsSupportsNull(other.First) && Second.EqualsSupportsNull(other.Second)); }