Question: Lab Assignment # 2 - COMP 212 [Visual Studio - C#] Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary (.dll file )

Lab Assignment # 2 - COMP 212 [Visual Studio - C#]

Lab Assignment # 2 - COMP 212 [Visual Studio - C#] Exercise

Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary (.dll file ) class library project ( which you have completed in the class/Lab), by adding the following methods apart from the existing methods: - T Minimum() method which will return the smallest itemode value - T GetLastNode() which will return the last element in the linked list [Note: Create a new solution, and to that solution add a new class library project. Enhance it as per requirements. After that add another project- LinkedListLibrary Test to the above solution where you can test the above library by adding a reference to test project. Take out the build of the above library in the Release Mode.) Test this library by using it in the project - LinkedListLibraryTest by creating two linked lists of integers and doubles ( containing at least 5 elements each ) and calling the methods Minimum() and GetLastNode() You need to enhance class library project QueuelnheritanceLibrary ( generic version), which is derived from LinkedListLibrary, by adding following method apart from the existing ones: - T GetLast() which will just return the last element in the queue and not delete it. Test this library by using it in the project - QueuelnheritanceLibraryTest by creating two linked lists based queue objects of integers and doubles and calling the method GetLast() and Minimum(). Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary (.dll file ) class library project ( which you have completed in the class/Lab), by adding the following methods apart from the existing methods: - T Minimum() method which will return the smallest itemode value - T GetLastNode() which will return the last element in the linked list [Note: Create a new solution, and to that solution add a new class library project. Enhance it as per requirements. After that add another project- LinkedListLibrary Test to the above solution where you can test the above library by adding a reference to test project. Take out the build of the above library in the Release Mode.) Test this library by using it in the project - LinkedListLibraryTest by creating two linked lists of integers and doubles ( containing at least 5 elements each ) and calling the methods Minimum() and GetLastNode() You need to enhance class library project QueuelnheritanceLibrary ( generic version), which is derived from LinkedListLibrary, by adding following method apart from the existing ones: - T GetLast() which will just return the last element in the queue and not delete it. Test this library by using it in the project - QueuelnheritanceLibraryTest by creating two linked lists based queue objects of integers and doubles and calling the method GetLast() and Minimum()

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!