public override bool Equals(object obj) { if (obj == null) return false; BidNumber other = obj as BidNumber; if (other == null) return false; return other.BidId == this.BidId; }