Please solve and explain using C# implementing SortedListand Generic List.
Create an Employee class with following properties EmployeeName as string EmployeeID as int Salary as double Create another class called EmployeeDAL which has the following methods. a. public bool AddEmployee(Employee e) b. public bool DeleteEmployee(int id) c. public string SearchEmployee (int id) d. public Employee[] GetAllEmployeesistAll() Use an Arraylist to store the employees Write a test program to test all the functionalities.
Implement the hands-on 1 using Sortedlist being EmployeeID as a key Modify hands-on 1 with Generic List
Create an Employee class with following properties EmployeeName as string EmployeeID as int Salary as double Create anot
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Create an Employee class with following properties EmployeeName as string EmployeeID as int Salary as double Create anot
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!