public static bool operator ==(Size size1, Size size2) { return ((size1.Width == size2.Width) && (size1.Height == size2.Height)); }