Exemplo n.º 1
0
 public void InsertNode(int insertValue)
 {
     if (root == null)
     {
         root = new TreeNode(insertValue);
     }
     else
     {
         root.Insert(insertValue);
     }
 }