- IEnumerable is an interface available in the
System.Collection
namespace - Any collection that implements the IEnumerable implements the GetEnumerator method of the IEnumerable interface, making it iterable.
- The IEnumerable or the Generic IEnumerable must be used over in-memory objects.
![](https://i0.wp.com/referbruv.com/wp-content/uploads/2022/05/banner-image-questions-new.png?fit=1200%2C600&ssl=1)
What is an IEnumerable?
- IEnumerable is an interface available in the
System.Collection
namespace - Any collection that implements the IEnumerable implements the GetEnumerator method of the IEnumerable interface, making it iterable.
- The IEnumerable or the Generic IEnumerable must be used over in-memory objects.