예제 #1
0
 public override string ToString()
 {
     return("\n---------------------------\nID: " + ID + ",\n"
            + this.Description() + ",\n"
            + brand.GetDescription() + ",\n"
            + carColour.Description() + ",\n"
            + wheel.Description() + ",\n"
            + engine.GetDescription() + ",\n"
            + Price + ",\n"
            + this.numberplate.SpecificNumberplate
            + "\n---------------------------");
 }