System.Drawing.Rectangle.operator C# (CSharp) Метод

operator() публичный статический Метод

Tests whether two objects have equal location and size.

public static operator ( ) : bool
Результат bool
        public static bool operator ==(Rectangle left, Rectangle right) =>
            left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height;