Assignment 6 – Generic Collections Due Date: Midnight of April 14 Purpose: The p
ID: 3708012 • Letter: A
Question
Assignment 6 – Generic Collections
Due Date: Midnight of April 14
Purpose: The purpose of this assignment is to help you:
• Become familiar with Generic Collections
Instructions: Be sure to read the following general instructions carefully:
This assignment should be completed individually by all the students. You are encouraged to
demonstrate your solution during lab session. Submit your solution through the Drobox. You must name
your submission according to the following rule: studentID(yourlastname)_ASSnumber.zip. e.g.,
300123456(smith)_ASS#3.zip
Question 1 [5 marks]
Write a program that inputs a line of text and uses DisplayDictionary<K, V> to count the number of
occurrences of each letter.
Question 2 [5 marks]
Write a program that creates a LinkedList<T> object of 10 characters, then creates a second list object
containing a copy of the first list, but in reverse order.
Explanation / Answer
Hi Dear,
As per the chegg policy, please post one question per post.
I have answered Q2.
Please repsot others in separate post.
Output:
List: [L, I, N, K, E, D, L, I, S, T]
Copy List: [T, S, I, L, D, E, K, N, I, L]