Пример #1
0
 public void PrintAuto()
 {
     Console.WriteLine("Color: " + Color);
     Console.WriteLine("AmountOfWheels: " + AmountOfWheels);
     Console.WriteLine("Brand: " + Brand);
     Console.WriteLine("AmountOfDoors: " + AmountOfDoors);
     Console.WriteLine("Torque: " + Torque);
     Console.WriteLine("Motor:");
     CarMotor.PrintMotor();
 }