public double CalculateLenght(Point otherPoint) { return Math.Sqrt((X - otherPoint.X) * (X - otherPoint.X) + (Y - otherPoint.Y) * (Y - otherPoint.Y)); }