Point.op_Inequality

Point Inequality operator

Compares two Point objects. The result specifies whether the values of the X or Y properties of the two Point objects are unequal.

public static bool operator !=(Point point1, Point point2)
ParameterTypeDescription
point1PointA first Point to compare.
point2PointA second Point to compare.

Return Value

True if the values of either the X properties or the Y properties of point1 and point2 differ; otherwise, false.

See Also