Пример #1
0
        public void Input(string manufacturer, string model, uint amount, double price)
        {
            CarDealer carDealer = CarDealer.GetInstance();

            for (int i = 0; i < amount; i++)
            {
                carDealer.AddCar(new Car(manufacturer, model, price));
            }
        }