Summary
In this chapter, you got a high-level overview of LINQ key concepts. In this particular discussion, you got information about LINQ to Objects as the built-in provider for querying in-memory collections. Specific sections showed LINQ in action via specific Visual Basic keywords that recall the SQL syntax, such as From, Select, Where, and Join. You can build LINQ queries while writing Visual Basic code, taking advantage of the background compiler, IntelliSense, and CLR control. Such queries written in the code editor are known as query expressions. Query expressions return an IEnumerable(Of T) but are not executed immediately. According to the key concept of deferred execution, LINQ queries are executed only when they are effectively utilized. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access