public override bool Equals(object obj) { Bad5 rhs = obj as Bad5; if (rhs == null) { return(false); } return(State == rhs.State); }
public override bool Equals(object obj) { Bad5 rhs = obj as Bad5; if ((object)rhs == null) { return(false); } return(name == rhs.name && address == rhs.address); }
public override bool Equals(object rhsObj) { if (rhsObj == null) { return(false); } Bad5 rhs = rhsObj as Bad5; return(this == rhs); }
public bool Equals(Bad5 rhs) { return this == rhs; }
public bool Equals(Bad5 rhs) { return(this == rhs); }