Size.op_Inequality

Size Inequality operator

Tests whether two Size structures are different.

public static bool operator !=(Size size1, Size size2)
ParameterTypeDescription
size1SizeThe Size structure on the left of the inequality operator.
size2SizeThe Size structure on the right of the inequality operator.

Return Value

True if size1 and size2 differ either in width or height; false if size1 and size2 are equal.

See Also