/// <summary> /// Item-wise equality check /// </summary> public bool Equals(Duo <I1, I2> other) { return(this.Item1.Equals(other.Item1) && this.Item2.Equals(other.Item2)); }
/// <summary> /// Reverses the Duo tuple /// </summary> public static Duo <I2, I1> Reversed <I1, I2>(this Duo <I1, I2> duo) { return(New(duo.Item2, duo.Item1)); }