using System; public class Point { private int x; private int y; public Point(int x, int y) { this.x = x; this.y = y; } public void Move(int deltaX, int deltaY) { x += deltaX; y += deltaY; } public override string ToString() { return $"({x}, {y})"; } } public class Program { public static void Main() { Point p1 = new Point(3, 8); Point p2 = new Point(-2, 4); Console.WriteLine($"Before: {p1}"); p1.Move(2, -3); Console.WriteLine($"After: {p1}"); Console.WriteLine($"p2: {p2}"); } }