public void CopyTo(T[] array, Int32 arrayIndex) { CSharpDataStructures.Structures.Lists.LinkedList <T> L = new CSharpDataStructures.Structures.Lists.LinkedList <T>(); this._visitor.PostOrder(this, (n) => __NodesVals(n, ref L)); L.CopyTo(array, arrayIndex); }
public void CopyTo(T[] array, Int32 arrayIndex) { CSharpDataStructures.Structures.Lists.LinkedList <T> L = new CSharpDataStructures.Structures.Lists.LinkedList <T>(); this._visitor.InOrder(this, (n) => __Nodes(n, ref L));//SYMMETRIC ORDER (INORDER) L.CopyTo(array, arrayIndex); }