public bool Equals(Sum other) { if (other == null) { return(false); } if (other == this) { return(true); } return(Parts.EqualContents(other.Parts)); }