using System; public class Point { private int x; private int y; public Point() { x = 0; y = 0; } public Point(int x, int y) { this.x = x; this.y = y; } public int GetX() { return x; } public int GetY() { return y; } } public class Program { public static void Main() { Point p1 = new Point(); Point p2 = new Point(2, 5); Point p3 = new Point(-1, 4); Console.WriteLine($"p1 = ({p1.GetX()}, {p1.GetY()})"); Console.WriteLine($"p2 = ({p2.GetX()}, {p2.GetY()})"); Console.WriteLine($"p3 = ({p3.GetX()}, {p3.GetY()})"); } }