Ejemplo n.º 1
0
 public Employee(string name, int salary, Position position)
 {
     Name     = name;
     Salary   = salary;
     Position = position;
     ID       = new EmployeeID(employee_num++);
 }
Ejemplo n.º 2
0
 public Employee GetEmployee(EmployeeID id)
 {
     return(Employees.Find(employee => employee.ID == id));
 }