// getting list of unique words in tree with amount of repeating them public List <string> GetUniqueWords() { List <string> toRet = new List <string>(); foreach (string word in Root.GetUniqueWords("")) { toRet.Add(word.Trim()); } return(toRet); }