The main reason for this recommendation is that the foreach construct
internally calls the Enumerator itself. Additionally, the Current
property of the IEnumerator returns an object while the foreach
construct allows for strongly typed iteration.

Reply via email to