/* determines whether two employee objects are equal */ /* TODO: revisit this */ public bool Equal(Employee e, Employee f) { if ((e.EmployeeNumber == f.EmployeeNumber) && (e.GetType() == f.GetType())) { return true; } return false; }
/* TODO re-do */ public bool Equals(Employee e, Employee f) { if (e.EmployeeNumber == f.EmployeeNumber) { return true; } return false; }
/* adds an employee to the company */ public void addEmployee(Employee e) { company.Add(e); }