Equals

SizeF.Equals method

Tests to see whether the specified object is a SizeF with the same dimensions as this SizeF.

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe Object to test.

Return Value

This method returns true if obj is a SizeF and has the same width and height as this SizeF; otherwise, false.

See Also