Question: (Sorting Letters and Removing Duplicates) Write a console app that inserts 30 random letters into a List < char >. Perform the following queries on
(Sorting Letters and Removing Duplicates) Write a console app that inserts 30 random letters into a List< char >. Perform the following queries on the List and display your results: [Hint: Strings can be indexed like arrays to access a character at a specific index.] a. Use LINQ to sort the List in ascending order. b. Use LINQ to sort the List in descending order. c. Display the List in ascending order with duplicates removed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
