static void Main(string[] args) { var car = new Car(); var helicopter = new Helicopter(); var lambo = new Lambo(); car.Park(); helicopter.Land(); TurnOnCar(car); TurnOnCopter(helicopter); TurnOnLambo(lambo); TurnOnTransport(lambo); TurnOnWaterVehicle(new BigShip()); }
private static void TurnOnLambo(Lambo l) { l.TurnOn(); }