Exemplo n.º 1
0
        static void Main()
        {
            Employee employee = new Employee("Pesho");

            employee.PrintEmployee(employee);

            List <string> docs = new List <string>()
            {
                "1", "2"
            };
            Manager manager = new Manager("Gosho", docs);

            manager.PrintEmployee(manager);
        }
Exemplo n.º 2
0
 protected void PrintEmployee(Employee employee)
 {
     employee.PrintEmployee(employee);
 }