예제 #1
0
        //-------------- HELPER METHODS -----------------

        //prints the current element look at in the iteration.
        internal string printElement()
        {
            //show the current element if any
            if (my_index < 0 || my_index >= my_parent.size() || my_current == null)
            {
                return("Current Element: null");
            }
            else
            {
                return("Current Element: " + my_current.ToString());
            }
        }