public void ChangeX(int newX) {X = newX;}
_point = new MyPoint {X = 5, Y = 5};
public ref MyPoint Point => ref _point;
public void ChangeX(int newX)
public static void Main()
var p = new MyPoint {X = 10, Y = 10};
Console.WriteLine(m.Point.X);
Console.WriteLine(m.Point.X);