public Hotel(int rooms) { hotel = new Collections.MyCustomCollection <Room>(); for (int i = 0; i < rooms; i++) { hotel.Add(new Room()); } }
public Journal() { listWithEvents = new Collections.MyCustomCollection <MyEvent>(); }
public Hotel(int rooms) { hotel = new Collections.MyCustomCollection <Room>(); for (int i = 0; i < rooms; i++) { hotel.Add(new Room()); } }
public Journal() { listWithEvents = new Collections.MyCustomCollection <MyEvent>(); }