Computer Science C#
Which of the following supports LINQ? Object collection XML Document All of the above None of the Above A class must implement ___ interface in order to provide querying facility using LINQ. Enumerator or IQueryable IEnumerable or ILinqQuery Enumerable or IsqIQuery None of the above
Expert Answer
LINQ can support both object collection and xml document (option C)
Linq to Objects: This provides the ability to query Ienumerable<T>-based on information sources which include arrays, collections, list of objects
Linq to XML: This provides efficient, easy-to-use, in-memory XML manipulation capabilities to provide XPath/XQuery functionality to the programming languages using simple query operators
Question 4
option B