Example #1
0
        public static List <string> GetCarProperties()
        {
            List <string> carProperties = new List <string>();

            carProperties.Add("Color of car");
            carProperties.Add("Number of doors");
            carProperties.AddRange(Wheel.GetWheelProperties());
            return(carProperties);
        }
Example #2
0
        public static List <string> GetMotorbikeProperties()
        {
            List <string> MotorbikeProperties = new List <string>();

            MotorbikeProperties.Add("License type");
            MotorbikeProperties.Add("Engine capacity");
            MotorbikeProperties.AddRange(Wheel.GetWheelProperties());
            return(MotorbikeProperties);
        }
Example #3
0
        public static List <string> GetTruckProperties()
        {
            List <string> TruckProperties = new List <string>();

            TruckProperties.Add("Does carry dangerous materials?");
            TruckProperties.Add("Maximum weight allowed");
            TruckProperties.AddRange(Wheel.GetWheelProperties());
            return(TruckProperties);
        }
Example #4
0
        public static List <string> GetVehicleProperties()
        {
            List <string> vehicleProperties = new List <string>();

            vehicleProperties.Add("Model's name:");
            vehicleProperties.Add("Lisence number:");
            vehicleProperties.AddRange(Wheel.GetWheelProperties());

            return(vehicleProperties);
        }