Size.op_Equality

Size Equality operator

Tests whether two Size structures are equal.

public static bool operator ==(Size sz1, Size sz2)
ParameterTypeDescription
sz1SizeThe Size structure on the left side of the equality operator.
sz2SizeThe Size structure on the right of the equality operator.

Return Value

true if sz1 and sz2 have equal width and height; otherwise, false.

See Also