Exemple #1
0
        public void DisplayCars()
        {
            Honda honda = new Honda("Accord");
            Mazda mazda = new Mazda("6");

            ListOfCars listOfCars = new ListOfCars(honda, mazda);

            listOfCars.Display();
        }
Exemple #2
0
 public ListOfCars(Honda honda, Mazda mazda)
 {
     _honda = honda;
     _mazda = mazda;
 }