public override bool Equals(object obj) { Good1 rhs = obj as Good1; if ((object)rhs == null) { return(false); } return(this == rhs); }
public override bool Equals(object rhsObj) { if (rhsObj == null) { return(false); } Good1 rhs = rhsObj as Good1; return(m_name == rhs.m_name && m_address == rhs.m_address); }
public override bool Equals(object rhsObj) { if (rhsObj == null) { return(false); } Good1 rhs = rhsObj as Good1; return(this == rhs); }
public override bool Equals(object rhsObj) { if (rhsObj == null) { return(false); } if (GetType() != rhsObj.GetType()) { return(false); } Good1 rhs = (Good1)rhsObj; return(x == rhs.x && y == rhs.y); }
public Good1 Add(Good1 rhs) { return(new Good1(m_value + rhs.m_value)); }
public static Point ToPointType(Good1 size) { return new Point(size.m_width, size.m_height); }
public static Point ToPointType(Good1 size) { return(new Point(size.m_width, size.m_height)); }
public Good1 Add(Good1 rhs) { return new Good1(m_value + rhs.m_value); }
public bool Equals(Good1 rhs) { return this == rhs; }
public override bool Equals(object rhsObj) { Good1 rhs = (Good1)rhsObj; return(this == rhs); }
public bool Equals(Good1 rhs) { return(this == rhs); }