public static bool operator == (RectangleD r1, RectangleD r2) { return r1.X == r2.X && r1.Y == r2.Y && r1.Width == r2.Width && r1.Height == r2.Height; }