public void LoadEmployees() { //simulating loading from database. employees = new Employee[2]; employees[0] = new ContractEmployee("Adam Barr"); Console.WriteLine(); employees[1] = new SalariedEmployee("Max Benson"); Console.WriteLine(); }
public void LoadEmployees() { //simulating loading from database. employees = new Employee[2]; employees[0] = new ContractEmployee("Adam Barr"); Console.WriteLine(); employees[1] = new SalariedEmployee("Max Benson"); Console.WriteLine(); }