RectangleF.Equals

Equals(object)

Determines whether the specified Object, is equal to this instance.

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe Object to compare with this instance.

Return Value

true if the specified Object is equal to this instance; otherwise, false.

See Also


Equals(RectangleF)

Tests whether other RectangleF structure has the same location and size of this RectangleF structure.

public bool Equals(RectangleF other)
ParameterTypeDescription
otherRectangleFOther rectangle to test

Return Value

This method returns true if other RectangleF structure and its X, Y, Width, and Height properties are equal to the corresponding properties of this RectangleF structure; otherwise, false.

See Also