Computer Science C#
Which of the following statement is TRUE? LINQ API is a bunch of extension methods included in System. Linq. Enumerable and System.Linq. Queryable class. LINQ API is a bunch of abstract methods included in Enumerable and Queryable classes. LINQ API is bunch of queries written in C# and VB. None of the above All of the Above Which of the following types of syntax LINQ supports? Query syntax Method syntax All of the above None of the above
Expert Answer
Question 5: A. LNIQ API is a bunch of extension methods included in System Linq. Enumerable and System Linq.Queryable class.
(Because LINQ is the collection of extension methods for classes that implements IEnumerable and IQueryable interface. Enumerable and Queryable are the two main static classes of LINQ API which contains the extension methods)
Question 6: C. All the above
LINQ supports both Query syntax and the Method syntax.