IEnumerable interface defines basic extension methods for LINQ - LINQ

Q.  Which interface defines the basic extension methods for LINQ?
- Published on 31 Aug 15

a. IComparable<T>
b. IList
c. IEnumerable
d. IQueryable<T>

ANSWER: IEnumerable
 
IEnumerable is a generic interface that defines the basic extension methods for LINQ. IEnumerable can move forward only over a collection. It is suitable for LINQ to Object and LINQ to XML queries.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)