예제 #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
파일: Car.cs 프로젝트: nadsit/Study
 public Car(string model, Engine engine, string color)
     : this(model, engine)
 {
     this.Color = color;
 }
예제 #4
0
파일: Car.cs 프로젝트: nadsit/Study
 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")
 {
 }