PDC2005 – Day 1 – Keynote – LINQ Announcement

Jim Allichin announced the Language Integrated Query (LINQ) Framework this morning.  Anders Hejlsberg and Don Box performed a great demo of this technology.  LINQ basically provides the the ability to query any array or collection of objects in managed code.

I was really blown away by the ability to perform joins between in-memory data and results from a SQL or Access database.  The demo application performed queries against the results from Process.GetProcesses( ).

query = from p in Process.GetProcess( )
where p.WorkingSet > 1024 * 1024 * 4
orderby p.WorkingSet descending
select new {

You can then foreach through the results.  From that point on (and the dying notebook battery), they had my rapt attention and my notes became slightly weaker.  I will try and whip up the join sample again.

NOTE: I recommend viewing an excellent Scoble interview with Anders Hejlsberg on Channel 9 regarding LINQ.

Skip to main content