public void InsertNode(int insertValue) { if (root == null) { root = new TreeNode(insertValue); } else { root.Insert(insertValue); } }