コード例 #1
0
ファイル: Car.cs プロジェクト: erayridvan/CSharp-OOP
 public Car(string model, Engine engine, int weight)
     :this(model, engine)
 {
     this.Weight = weight;
     this.Color = "n/a";
 }
コード例 #2
0
ファイル: Car.cs プロジェクト: erayridvan/CSharp-OOP
 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
ファイル: Car.cs プロジェクト: q2kPetrov/SoftUni-Courses
 public Car(string model, Engine engine, string color)
     : this(model, engine, -1, color)
 {
 }
コード例 #6
0
ファイル: Car.cs プロジェクト: q2kPetrov/SoftUni-Courses
 public Car(string model, Engine engine, int weight)
     : this(model, engine, weight, "n/a")
 {
 }
コード例 #7
0
ファイル: Car.cs プロジェクト: q2kPetrov/SoftUni-Courses
 public Car(string model, Engine engine)
     : this(model, engine, -1, "n/a")
 {
 }