public void CreateCompleteCar() { carModel.SetModel(); carBody.SetBody(); carEngine.SetEngine(); carAccessories.SetAccessories(); }
public void CreateCompleteCar() { Console.WriteLine("******** Creating a Car. **********"); model.SetModel(); engine.SetEngine(); body.SetBody(); accessories.SetAccessories(); Console.WriteLine("******** Car creation is completed. **********"); }
public void CreateCompleteCar() { Console.WriteLine("******** Creating a Car **********\n"); _model.SetModel(); _engine.SetEngine(); _body.SetBody(); _accessories.SetAccessories(); Console.WriteLine("\n******** Car creation completeed **********"); }
public void CreateCompleteCar() { Console.WriteLine(PrintMessages.CreatingCar); model.SetModel(); engine.SetEngine(); body.SetBody(); accessories.SetAccessories(); Console.WriteLine(PrintMessages.CreatedCar); }
private static void Main(string[] args) { CarModel model = new CarModel(); CarEngine engine = new CarEngine(); CarBody body = new CarBody(); CarAccessories accessories = new CarAccessories(); Console.WriteLine("******** Creating a Car **********\n"); model.SetModel(); engine.SetEngine(); body.SetBody(); accessories.SetAccessories(); Console.WriteLine("\n******** Car creation complete **********"); }