Choose the wrong statement about the LINQ?

Lượng Tiger

New member
Choose the wrong statement 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: c
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.
 

Tìm kiếm

Back
Top