static public void CheckOut(Room room) { if (room.GetGuest() != null) { room.SetGuest(null); --numberOfGuests; } }
public static void CheckOut(Room room) { room.SetGuest(null); numberOfGuests--; }
public static void CheckOut(Room r) { r.SetGuest(null); }