IEnumerable vs. ICollection vs. IQueryable vs. IList

Collections are used quite often in applications and C# have different types of collection. Here are the subtle differences between collection types and choose appropriate type based on your needs.

IEnumerable: Provides Enumerator for accessing collection

ICollection:

IQueryable:

IList:

These are the major differences between collection types and to explore more please visit following mentioned MSDN documentation.

Enumerator vs Iterator

Credits: