System.Windows.Point.operator C# (CSharp) Method

operator() public static method

public static operator ( ) : bool
return bool
        public static bool operator ==(Point point1, Point point2)
        {
            return ((point1.X == point2.X) && (point1.Y == point2.Y));
        }