Example #1
0
        static void Main(string[] args)
        {
            WordCounterPair dictionary  = new WordCount(100);
            string          currentWord = "";


            while (currentWord != "STOP")
            {
                currentWord = Console.ReadLine();
                if (currentWord != "STOP")
                {
                    dictionary.AddString(currentWord);
                }
            }
        }