114k views
2 votes
To use LINQ with a data source, that data source μst implement one of the following interfaces. Which one is it?

a) IQueryable
b) IEnumerable
c) IDataStore
d) IDataSource

User Axs
by
7.1k points

1 Answer

5 votes

Final answer:

To use LINQ with a data source, the data source must implement the IQueryable interface.

Step-by-step explanation:

To use LINQ with a data source, the data source must implement the IQueryable interface.

LINQ stands for Language Integrated Query and is a feature in C# that allows you to query and manipulate data in a strongly-typed manner. The IQueryable interface provides the functionality required for LINQ to work with the data source.

The IEnumerable interface can also be used with LINQ, but it provides a more limited set of query capabilities compared to IQueryable.

User Poke
by
7.6k points