Ejemplo n.º 1
0
 /// <summary>
 /// Method to check if the word exists in our wordslist
 /// </summary>
 /// <param name="word"></param>
 /// <returns>bool</returns>
 public bool Exists(string word)
 {
     return(AllWords.Contains(word));
 }
Ejemplo n.º 2
0
        public static bool existsInDB(string word)
        {
            var exists = AllWords.Contains(word);

            return(exists);
        }