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