Rectangle.Operator == Method
Determines whether two specified Rectangle objects have the same value.
Thread safety: This method is thread-safe.
operator ==(Rectangle x, Rectangle y)
Determines whether two specified Rectangle objects have the same value.Syntax
public static System.Boolean operator == (
Rectangle x,
Rectangle y
)
Parameters
x
Type: Rectangle
The first object.
The first object.
y
Type: Rectangle
The second object.
The second object.
Return Value
Type: System.Boolean
True if x and y have the same value; otherwise, False.
True if x and y have the same value; otherwise, False.
Platforms
Windows, Linux, Android