public int number_city { get; set; }
public int x { get; set; }
public int y { get; set; }
public Slot[,] slots { get; set; }
public City city { get; set; }
public int x { get; set; }
public int y { get; set; }
static double GetDistance(int c0, int l0, int c1, int l1)
return Math.Sqrt(dX * dX + dY * dY);
var x = GetDistance(slot1.x, slot1.y, slot2.x, slot2.y);
Console.WriteLine(x.ToString());