Advances the current instance to the next element of the collection.
true if the current instance was successfully advanced to the next element; false if the current instance has passed the end of the collection.
Type Reason InvalidOperationException The collection was modified after the current instance was instantiated.