static void Main(string[] args) { foreach (KeyValuePair <char, int> i in Compresser.letterCount("Hi my name is ethan")) { Console.WriteLine($"Letter {i.Key} is used {i.Value} times."); } }
LowerCompresser(string s) { c = new Compresser(s.ToLower()); }