class Point {
public int X { get; set; }
public int Y { get; set; }
public Point(int x, int y) {
X = x;
Y = y;
}
//before:
public Point Move1(int dx, int dy) {
return new Point(X + dx, Y + dy);
}
//in version 6:
public Point Move2(int dx, int dy) =>
new Point(X + dx, Y + dy);
}