System.Drawing.Rectangle.operator C# (CSharp) Méthode

operator() public static méthode

Tests whether two objects have equal location and size.

public static operator ( ) : bool
Résultat 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;