Point p1 = new Point(10, 20);
int x = p1.X; int y = p1.Y;
Point p2 = new Point(30, 50); Point p3 = p1 + p2;In this example, we use the + operator to add two Point objects together. This creates a new Point object with the X-coordinate as the sum of the two X-coordinates and the Y-coordinate as the sum of the two Y-coordinates. Package Library: The System.Drawing namespace is part of the .NET Framework Class Library.