示例#1
0
        // TODO: Complete this method by first calling Sort and then calling PrintEmployees.
        private static void PerformEmployeeMaintenance(EmployeeCollection ec, EmployeeCollection.CompareItemsCallback callBack, string title)
        {
            // Sort the list.
            ec.Sort(callBack);

            // Print the list.
            ec.PrintEmployees(title);
        }