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