Exemplo n.º 1
0
 public Car(string model, Engine engine, int weight, string color)
     : this(model, engine)
 {
     this.Weight = weight;
     this.Color  = color;
 }
Exemplo n.º 2
0
 public Car(string model, Engine engine, int weight)
     : this(model, engine)
 {
     this.Weight = weight;
 }
Exemplo n.º 3
0
 public Car(string model, Engine engine, string color)
     : this(model, engine)
 {
     this.Color = color;
 }
Exemplo n.º 4
0
 public Car(string model, Engine engine)
     : this()
 {
     this.Model  = model;
     this.Engine = engine;
 }