public rectangle(point pt, size size) { this.x = pt.x; this.y = pt.y; this.width = size.width; this.height = size.height; }
public bool Equals(size obj) { return(this.width == obj.width && this.height == obj.height); }