public override bool Equals(object obj) { if (!(obj is Rect)) { return false; } return (this == (RECT)obj); }