public Driver(ICarFactory carFactory) { _sportsCar = carFactory.CreateSportsCar(); _familyCar = carFactory.CreateFamilyCar(); }
public void CompareToSport(ISportsCar sportsCar) { Console.WriteLine($"{this} is slower than {sportsCar}, but it is more practical and badass."); }