Пример #1
0
 public Car(string model, Engine engine, int weight, string color)
     : this(model, engine)
 {
     this.Weight = weight;
     this.Color  = color;
 }
Пример #2
0
 public Car(string model, Engine engine, int weight)
     : this(model, engine)
 {
     this.Weight = weight;
 }
Пример #3
0
 public Car(string model, Engine engine, string color)
     : this(model, engine)
 {
     this.Color = color;
 }
Пример #4
0
 public Car(string model, Engine engine)
     : this()
 {
     this.Model  = model;
     this.Engine = engine;
 }