Equals(Object) Method (Rectangle)
Determines whether this instance and a specified object, which must also be a
Rectangle object, have the same value.
Parameters
- obj
- The object to compare to this instance.
Return Value
True if obj is a
Rectangle and its
Left,
Top,
Width, and
Height properties are equal to the corresponding properties of this
Rectangle; otherwise,
false.
Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5