Beispiel #1
0
 internal int GetDistance(ParkingSpot other)
 {
     return(Math.Abs(X - other.X) + Math.Abs(Y - other.Y) - 1);
 }