Exemplo n.º 1
0
        public static new List <string> GetQuestions()
        {
            List <string> questionsToUserElectricVehicle = ElectricVehicle.GetQuestions();
            List <string> questionsToUserCar             = Car.GetQuestions();

            foreach (string str in questionsToUserCar)
            {
                questionsToUserElectricVehicle.Add(str);
            }

            return(questionsToUserElectricVehicle);
        }
Exemplo n.º 2
0
        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);
        }