Question: In C#: Write a console app which makes use of generic SortedDictionary data structure ( Refer code examples covered during the Lab) to maintain the

In C#:

Write a console app which makes use of generic SortedDictionary data structure ( Refer code examples covered during the Lab) to maintain the list of employees ( add at least 5, you need to create a Employee class (Employee.cs, with properties Name, Salary ( type double) and appropriate constructors and overriding of ToString() method.) and demonstrate the use of following operations on the above employee Sorted Dictionary list: a) Add an employee to the dictionary (You need to define a method AddDictionaryItem( SortedDictionary var, Employee emp) b) Remove an employee from the list (You need to define a method RemoveDictionaryItem( SortedDictionary var) c) Displaying the items of the SortedDictionary. (You need to define a method PrintDictionary( SortedDictionary var) d) Search an employee (You need to define a method SearchDictionaryItem( SortedDictionary var) e) Finding an employee with highest salary (You need to define a method MaxDictionaryItem( SortedDictionary var)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!