[Solved] I got movenext() exception [closed]
To use MoveNext() you need to keep hold of the iterator and just… call MoveNext(), as shown below. The most common reason that MoveNext() would throw an exception is that the collection was modified – you added/removed/replaced an item. That isn’t usually allowed, so you’d have to construct your code to not do that. Perhaps … Read more