예제 #1
0
 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.");
     }
 }
예제 #2
0
 LowerCompresser(string s)
 {
     c = new Compresser(s.ToLower());
 }