public Tri(List<string> words) { RootNode = new TriNode('\0'); if(!(words == null)) { words.ForEach(word => RootNode.AddString(word)); } }
public Tri(List <string> words) { RootNode = new TriNode('\0'); if (!(words == null)) { words.ForEach(word => RootNode.AddString(word)); } }
public void AddString(string str) { RootNode.AddString(str); }