Exemple #1
0
        /// <summary>
        /// Search through the tree.
        /// </summary>
        /// <param name="val">The value to search for.</param>
        /// <returns>The found node.</returns>
        public NodeString Search(string val)
        {
            //Start the search at the root.
            NodeString found = root.Search(val);

            //Return what we found.
            return(found);
        }