public void Redo(UndoStack stack) { for (int i = undolist.Length - 1; i >= 0; --i) { stack.RunRedo(undolist[i]); } }