what is IEnumerable ?
Exposes an enumerator, which supports a simple iteration over a non-generic collection.
For calling this class method in void Main.

Output:-

Exposes an enumerator, which supports a simple iteration over a non-generic collection.
For calling this class method in void Main.
Output:-
Comments