Beispiel #1
0
 private void ConstructTreeVisualize(StringBuilder output, int depth)
 {
     if (this.RightNode != null)
     {
         RightNode.ConstructTreeVisualize(output, depth + 1);
     }
     output.Append('\t', depth);
     output.AppendLine(Value.ToString());
     if (LeftNode != null)
     {
         LeftNode.ConstructTreeVisualize(output, depth + 1);
     }
 }