static void Main(string[] args) { Hotel myHotel = new Hotel(); Guest myGuest = new Guest(); List <SingleRoom> mySingleRoom = new List <SingleRoom>(); for (int i = 0; i < 10; i++) { mySingleRoom.Add(new SingleRoom(i)); } // Console.Write("Input how many bed you want to search: "); int bedNum = Convert.ToInt32(Console.ReadLine()); myGuest.Search(myHotel); }
public void ReturnResult(Guest guest, Hotel hotel) { Console.WriteLine($"{guest.Search(hotel)}"); }