public static new List <string> GetAtributes() { List <string> getAtributesFuelVehicle = FuelVehicle.GetAtributes(); List <string> getAtributesUserCar = Car.GetAtributes(); foreach (string str in getAtributesUserCar) { getAtributesFuelVehicle.Add(str); } return(getAtributesFuelVehicle); }
internal static new List <string> GetAtributes() { List <string> atributesFuelVehicle = FuelVehicle.GetAtributes(); List <string> atributesToUserCar = Car.GetAtributes(); foreach (string str in atributesToUserCar) { atributesFuelVehicle.Add(str); } atributesFuelVehicle.Add("IsCarryDangerousMaterial"); atributesFuelVehicle.Add("CarryVolume"); return(atributesFuelVehicle); }