예제 #1
0
 private string ToString(RentalCar car)
 {
     info = "Brand: " + Brand + " , Type: " + Type + " , Kilometers: " + Kilom + " , Weight: " + Weight + " , Register: " + Reg + " , Doors: " + Doors + " , MaxPL: " + MaxPL + " , Height: " + Height;
     return info;
 }
예제 #2
0
 public string ToString(RentalCar regularCar)
 {
     RegularCar = regularCar.info + id;
     return RegularCar;
 }
예제 #3
0
 public string ToString(RentalCar truck)
 {
     Truck = truck.info + id;
     return Truck;
 }