public Point2D(int x, int y)
public double DistanceTo(Point2D other)
var x = Math.Pow(other.X - this.X, 2);
var y = Math.Pow(other.Y - this.Y, 2);
var p1 = new Point2D(5, 10);
var p2 = new Point2D(3, 7);
var distance = p1.DistanceTo(p2);
Console.WriteLine(distance);