示例#1
0
        public static void Main()
        {
            ShowGreeting();
            string        userWord      = GetWord();
            string        userSentence  = GetSentence();
            RepeatCounter repeatCounter = new RepeatCounter();

            repeatCounter.AddWord(userWord);
            repeatCounter.AddSentence(userSentence);
            ShowWordCount(repeatCounter);
            ShowGoodbye();
        }