private string GetAnswer(IWords wordsLogic) { var words = wordsLogic.GetWords(); var rnd = new Random(); return(words[rnd.Next(words.Count)]); }