Letters And LINQ Project

This project was my first experience using LINQ to sort output. The program takes a string with every letter of the alphabet and randomly selects a letter from the string to add to a char array list. Then it displays the full list unsorted. Then it sorts by ascending, ascending distinct, descending, and descending distinct. At the bottom of the program it displays the number of distinct letters.

Program Run

Main Class Code