Пример #1
0
 public Car(Chassis chassis, Engine engine, Transmission transmission, string brand) : base(chassis, engine, transmission)
 {
     Brand = brand;
 }
Пример #2
0
 public Scooter(Chassis chassis, Engine engine, Transmission transmission, float price) : base(chassis, engine, transmission)
 {
     Price = price;
 }
Пример #3
0
 public Bus(Chassis chassis, Engine engine, Transmission transmission, int slotsAmount) : base(chassis, engine, transmission)
 {
     SlotsAmount = slotsAmount;
 }