Find character with most occurrences in string?

input.GroupBy(x => x).OrderByDescending(x => x.Count()).First().Key

Notes:

Leave a Comment