Menu

(Solved) : Exercise 03 20 Marks Need Enhance Generic Linkedlistlibrary Dll File Class Library Project Q44120969 . . .

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

Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary<T> (.dll file ) class library project ( which you

Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary<T> (.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<T>() method which will return the smallest item/node 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<T> ( generic version), which is derived from LinkedListLibrary<T>, by adding following method apart from the existing ones: – T GetLast<T>() 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(). Show transcribed image text 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 item/node 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().

Expert Answer


Answer to Exercise 03: [20 marks] You need to enhance your generic LinkedListLibrary (.dll file ) class library project ( which yo…

OR