Point.op_Equality

Point Equality operator

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

public static bool operator ==(Point left, Point right)
Parameter Type Description
left Point A Point to compare.
right Point A Point to compare.

Return Value

true if the Point.X and Point.Y values of left and right are equal; otherwise, false.

See Also