示例#1
0
 public bool NewGarage(int capacity)
 {
     garage = new Garage <Vehicle>(capacity);
     return(garage != null);
 }
示例#2
0
 public void SetGarage(Garage <Vehicle> newGarage)
 {
     garage = newGarage;
 }