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