public Driver(CarFactory carFactory)
 {
     CarFactory = carFactory;
     SportsCar = CarFactory.CreateSportsCar();
     FamilyCar = CarFactory.CreateFamilyCar();
 }
 public Driver(CarFactory carFactory)
 {
     CarFactory = carFactory;
     SportsCar  = CarFactory.CreateSportsCar();
     FamilyCar  = CarFactory.CreateFamilyCar();
 }