Types of Objects that query using LINQ - LINQ
Q. What types of Objects can you query using LINQ?- Published on 31 Aug 15a. DataTables and DataSets
b. Any .NET Framework collection that implements IEnumerable(T)
c. Collections that implement interfaces that inherit from IEnumerable(T)
d. All of the above
ANSWER: All of the above
In the above question all the options are correct. Any .NET Framework collection that implements IEnumerable(T) or that inherit from IEnumerable(T) can be queried using LINQ.