public bool Equals(Triple other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Sides.SequenceEqual(other.Sides)); }