// getting list of all words in tree (with repeating if many) public List <string> GetAllWords() { List <string> toRet = new List <string>(); foreach (string word in Root.GetWords("")) { toRet.Add(word.Trim()); } return(toRet); }