public bool Equals(TakesFirstFact that) { if (that == null) { return(false); } return(this.Value == that.Value); }
public override bool Equals(object that) { if (that == null) { return(false); } TakesFirstFact fact = that as TakesFirstFact; if (fact == null) { return(false); } else { return(Equals(fact)); } }