At the following code i use foreach loop to check each node in nodelist and remove some of them. after i remove one node the foreach loop throw the following error: \"The el
You are not allowed to change a collection used during a foreach iteration. You can use For..loop instead
foreach
For..loop
for(int i=0; i