public override object Clone() { ArithmeticSignPart part = new ArithmeticSignPart(); part.Id = this.Id; part.Symbol = this.Symbol; return(part); }
public override int CompareTo(QuestionContentPart other) { if (this == other) { return(0); } if (!(other is ArithmeticSignPart)) { return(-1); } ArithmeticSignPart signOther = other as ArithmeticSignPart; return(this.Symbol - signOther.Symbol); }