using System.Collections.Generic;
public static void Main()
var str = "AabbCCDDEEgghh";
Console.WriteLine($"{km.Key}:{km.Value}");
public static Dictionary<char, int> LCount(string word)
return word.GroupBy(x => char.ToLower(x)).ToDictionary(b => b.Key, b => b.Count());