Пример #1
0
 public Hotel(int rooms)
 {
     hotel = new Collections.MyCustomCollection <Room>();
     for (int i = 0; i < rooms; i++)
     {
         hotel.Add(new Room());
     }
 }
Пример #2
0
 public Journal()
 {
     listWithEvents = new Collections.MyCustomCollection <MyEvent>();
 }