public override bool Equals(object _other) { CurveSelection selection = (CurveSelection) _other; return (((selection.curveID == this.curveID) && (selection.key == this.key)) && (selection.type == this.type)); }