public void Dump(Indenter stream) { // display the nodes in reverse order of creation as we create the tree bottom-up so the last are the topmost nodes for (int i = _count - 1; i >= 0; i--) { Node node = _index[i]; stream.WriteLine("{0,4:D4} {1} {2}:", node.Id, node.ToString(), node.Position.ToString()); stream.Indent(); node.DumpFields(stream); stream.Dedent(); stream.WriteLine(); } }