Example #1
0
 public CarDetails(ECarType type, string brand, string color, string vin, string plate)
 {
     this.CarBrand     = brand;
     this.CarType      = type;
     this.Color        = color;
     this.VIN          = vin;
     this.LicensePlate = plate;
     CarFaultsManager  = new CarFaultsManager();
 }
Example #2
0
 public void CarGoesToService()
 {
     CarFaultsManager = new CarFaultsManager();
     Console.WriteLine("Your car has entered our service!");
 }