public static double Distance(Stop first, Stop other) { return(Math.Sqrt( Math.Pow(first.City.X - other.City.X, 2) + Math.Pow(first.City.Y - other.City.Y, 2))); }