Array implements IEnumerator, and MoveNext method is part of IEnumerator. Using the Method Array.GetEnumerator() returns the IEnumerator for the Array. And Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.
Refer the link below :
About GetEnumerator Method[
^]