Choose the correct statements about the LINQ?
A. The main concept behind the linq is query
B. linq makes use of foreach loop to execute the query
C. It is not required that linq should make use of IEnumerable interface
D. None of the mentioned
Answer:A
Choose the correct statements about the LINQ?
A. The main concept behind the linq is query B. linq makes use of foreach loop to execute the query C. It is not required that linq should make use of IEnumerable interface D. None of the mentioned
Explanation: LINQ at core is the query.A query specifies what data will be obtained from a data source.Query in linq is executed using foreach loop.In order for a source of data to be used by LINQ, it must implement the IEnumerable interface.