Пример #1
0
        //Adds user input to back end constructor. Will notify user if inputted word is not a 'real' word.
        public static string GetWord()
        {
            Console.WriteLine("Enter a word: ");
            string word = Console.ReadLine();

            if (RepeatCounter.IsAWord(word))
            {
                return(word.ToLower());
            }
            else
            {
                Console.WriteLine("Hey, That's not a real word! But I'll search for it anyway");
                return(word);
            }
        }