I have an ArrayList containing several TreeNodes which I want to delete. I thought all I have to do is the following:
For Each DummyNode In alNodes
Me.treDokumente.Nodes.Remove(DummyNode)
Next
But then I get an error ("Collection modified... won't work")
But even after doing alNodes.Reverse, the effect is the same. Any ideas how I can realize it?
