I read about IEnumerable:
IEnumerable or IEnumerable<T> : by implementing this an object states that it can give you an iterator that you can use to traverse over the sequence/collection/set
So, the foreach statement uses only the IEnumerable interface to iterate over a collection ?
Or does it use IEnumerator too ?