Ever wonder what really happens when you write a simple LINQ query?
Dim query = From row In db.Customers _ Where row.Country = "Canada" _ Select row
A lot of new language features went into the compilers in Visual Studio 2008 to make even this simple LINQ query work.
In this interview I sit down with Jonathan Aneja, a Program Manager on the Visual Basic Compiler team, who dives deep into these features like Type Inference, Anonymous Types, Lambda Expressions, Expressions Trees, and more. He explains what’s actually happening behind the scenes and all the work the compiler is doing for you when you write a LINQ query.
My head almost explodes at the end but I learned a lot of important concepts so check it out: