Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Car(string make, string model, int year)
- {
- this.Make = make;
- this.Model = model;
- this.Year = year;
- }
- public Car(string make, string model, int year,
- double fuelQuantity, double fuelConsumption) : this(make, model, year)
- {
- this.FuelQuantity = fuelQuantity;
- this.FuelConsumption = fuelConsumption;
- }
Advertisement
Add Comment
Please, Sign In to add comment