Equals

Equals(Size)

Compares dimensions with another size.

public bool Equals(Size item)
Parameter Type Description
item Size The size to compare with.

Return Value

true when width and height match; otherwise false.

See Also


Equals(object)

Compares this size with another object.

public override bool Equals(object item)
Parameter Type Description
item Object The object to compare with.

Return Value

true when item is a matching Size; otherwise false.

See Also