Compares two objects. The result specifies whether the values of the and properties of the two objects are equal.
public static bool operator ==(Point left, Point right) => left.X == right.X && left.Y == right.Y;