/// <summary> /// Calculates a hash code unique to the contents of this instance. /// </summary> /// <returns>A hash code.</returns> public override int GetHashCode() { //TODO write a better hash code return(Min.GetHashCode() ^ Max.GetHashCode()); }