Beispiel #1
0
 public City(int number, Coords coords)
 {
     this.number = number;
     this.coords = coords;
 }
Beispiel #2
0
 public double CountDist(Coords another)
 {
     return(Math.Sqrt(Math.Pow((another.x - this.x), 2) + Math.Pow((another.y - this.y), 2)));
 }