public static void Reconstruct(ref Car car, CarEngine carEngine) { car.Engine = carEngine; }
public static Car Construct(CarColor color, CarEngine engine, CarTransmission transmission) { return(new Car(color, engine, transmission)); }
public Car(CarColor color, CarEngine engine, CarTransmission transmission) { Color = color; Engine = engine; Transmission = transmission; }