/// <summary> /// Add new node to Tree /// </summary> /// <param name="data">value</param> public void Inser(int data) { if (IsEmpty()) { root = new TNode(data); } else { root.Insertdata(ref root, data); } Count++; }