Exemplo n.º 1
0
 public override string ToString()
 {
     return("Serial Number " + SerialNumber + "\n" +
            "Fuel " + FuelType + "\n" +
            "Make/Model " + MakeModel.ToString() + "\n" +
            "Capacity " + Capacity.ToString() + "\n" +
            "Range (mi) " + Range.ToString() + "\n\n");
 }
Exemplo n.º 2
0
 public override string ToString()
 {
     return("Serial Number " + SerialNumber + "\n" +
            "Fuel " + FuelType + "\n" +
            "Make/Model " + MakeModel.ToString() + "\n" +
            "Seating " + Capacity.ToString() + "\n" +
            "Doors " + Doors.ToString() + "\n\n");
 }
Exemplo n.º 3
0
 public override string ToString()
 {
     return("Serial Number " + SerialNumber + "\n" +
            "Fuel " + FuelType + "\n" +
            "Make/Model " + MakeModel.ToString() + "\n" +
            "Capacity " + Capacity.ToString() + "\n" +
            "Length (ft) " + FootLength.ToString() + "\n" +
            "Engine " + Engine + "\n\n");
 }