Quote Originally Posted by George2
But I think in both cases, the collector class needs to implement IEnumerator interface, since method GetEnumerator is from this interface and it is used in both cases, right?
TRY IT, simple Try it, my dear. take a class and implement a method GetEnumerator without implementing the Interface and try if it works with foreach. that answers your question.

You are figuring around nothing else