Exemplo n.º 1
0
 public Car(string model, Engine engine, int weight)
     :this(model, engine)
 {
     this.Weight = weight;
     this.Color = "n/a";
 }
Exemplo n.º 2
0
 public Car(string model, Engine engine, int weight, string color)
     :this(model, engine)
 {
     this.Weight = weight;
     this.Color = color;
 }
Exemplo n.º 3
0
Arquivo: Car.cs Projeto: nadsit/Study
 public Car(string model, Engine engine, string color)
     : this(model, engine)
 {
     this.Color = color;
 }
Exemplo n.º 4
0
Arquivo: Car.cs Projeto: nadsit/Study
 public Car(string model, Engine engine, int weight)
     : this(model, engine)
 {
     this.Weight = weight;
 }
Exemplo n.º 5
0
 public Car(string model, Engine engine, string color)
     : this(model, engine, -1, color)
 {
 }
Exemplo n.º 6
0
 public Car(string model, Engine engine, int weight)
     : this(model, engine, weight, "n/a")
 {
 }
Exemplo n.º 7
0
 public Car(string model, Engine engine)
     : this(model, engine, -1, "n/a")
 {
 }