Exemple #1
0
 public void SearchTreeBranch(Node leaf, int treeBranch)
 {
     if (leaf != null)
     {
         leaf.SearchTree(treeBranch);
     }
     else
     {
         Console.WriteLine("Tree does not contain {0}", treeBranch);
     }
 }
Exemple #2
0
 public void Search(int treeBranch)
 {
     root.SearchTree(treeBranch);
 }