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 SetX(int x) { this.x = x; } public override string ToString() { return $"({x}, {y})"; } } public class Program { public static void Main() { int first = 4; int second = first; second = 9; Point p1 = new Point(1, 2); Point p2 = p1; p2.SetX(8); Console.WriteLine($"Values: first = {first}, second = {second}"); Console.WriteLine($"p1 = {p1}"); Console.WriteLine($"p2 = {p2}"); } }