private static void ImplementingAdapterPattern() { var robot = new RobotAdapter("Robot Adapter", 100); robot.Work(24); robot.Recharge(); var employee = new EmployeeAdapter("Employee Adapter"); employee.Work(8); employee.Sleep(); var rechargeStation = new AdapterPattern.RechargeStation(); rechargeStation.Recharge(robot); //rechargeStation.Recharge(empl); // error }