An enumerator that contains all System.Text.RegularExpressions.Group objects in the System.Text.RegularExpressions.GroupCollection.
Instead of calling the GroupCollection.GetEnumerator method to retrieve an enumerator that lets you iterate through the System.Text.RegularExpressions.Group objects in the collection, you should use the group iteration construct (such as foreach in C# and For Each…Next in Visual Basic) that is provided by your programming language.