コード例 #1
0
        public GarageHandler(int capacity)

        {
            garage = new Garage <Vehicle>(capacity);
        }
コード例 #2
0
 public void CreateGarage(int capacity)
 {
     garage = new Garage <Vehicle>(capacity);
 }
コード例 #3
0
 public void CreateGarage(int capacity)
 {
     garage = new Garage <Vehicle>(capacity);
     Console.WriteLine($"Created Garage with {capacity} Capacity.You can Park your Vehicles.");
     //Console.WriteLine(garage.Count);
 }