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