Size.op_Inequality

Size Inequality operator

Tests whether two Size structures are different.

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

Return Value

true if sz1 and sz2 differ either in width or height; false if sz1 and sz2 are equal.

See Also