public Car(Engine engine, Color color, Transmission transmission) { Engine = engine; Color = color; Transmission = transmission; }
public static Car Reconstruct(this Car car, Transmission transmission) { car.Transmission = transmission; return(car); }
public static Car Construct(Engine engine, Color color, Transmission transmission) { return(new Car(engine, color, transmission)); }