private void MoveStackToQueue() { while (StackedStack.Count > 0) { QueuedStack.Push(StackedStack.Pop()); } }
/// <summary>Initialize the iterator.</summary> protected void Reset() { stack.Clear(); stack.Push(new DirNode(new DirectoryInfo[] { new DirectoryInfo(RootPath) }, -1)); }