Пример #1
0
 public Car(string model, Engine engine, int weight)
     :this(model, engine)
 {
     this.Weight = weight;
     this.Color = "n/a";
 }
Пример #2
0
 public Car(string model, Engine engine, int weight, string color)
     :this(model, engine)
 {
     this.Weight = weight;
     this.Color = color;
 }
Пример #3
0
 public Car(string model, Engine engine, string color)
     : this(model, engine)
 {
     this.Color = color;
 }
Пример #4
0
 public Car(string model, Engine engine, int weight)
     : this(model, engine)
 {
     this.Weight = weight;
 }
Пример #5
0
 public Car(string model, Engine engine, string color)
     : this(model, engine, -1, color)
 {
 }
Пример #6
0
 public Car(string model, Engine engine, int weight)
     : this(model, engine, weight, "n/a")
 {
 }
Пример #7
0
 public Car(string model, Engine engine)
     : this(model, engine, -1, "n/a")
 {
 }