Use a for loop, and loop over the collection in a reverse order. (That means, start with the last element, and loop to the first element.
By doing so, you won't get problems by the indexes that change because of removing elements from the collection.
You get the exception in the example that you post, because the list over which your iterator iterates, has changed, which means that the iterator becomes invalid.