public static new List <string> GetQuestions() { List <string> questionsToUserFuelVehicle = FuelVehicle.GetQuestions(); List <string> questionsToUserCar = Car.GetQuestions(); foreach (string str in questionsToUserCar) { questionsToUserFuelVehicle.Add(str); } return(questionsToUserFuelVehicle); }
internal static new List <string> GetQuestions() { List <string> questionsToUserFuelVehicle = FuelVehicle.GetQuestions(); List <string> questionsToUserCar = Car.GetQuestions(); foreach (string str in questionsToUserCar) { questionsToUserFuelVehicle.Add(str); } questionsToUserFuelVehicle.Add("Please enter true if the truck carry dangerous material, or false if doesn't"); questionsToUserFuelVehicle.Add("Please enter the carry volume of the truck"); return(questionsToUserFuelVehicle); }