1. D

    Question Iterating through a tree of objects

    Hello all, I have written a pretty simple tree data structure that implements the IEnumerable interface. class Tree<T> : IEnumerable<T> Everything is working great, I'm adding my nodes and the data is actually an object, so to create a node in my tree, I use something like this: var tree =...
Top Bottom