LINQ to have significant impact

We have been hearing about LINQ (Language INtegrated Query) for a couple of years now. With the launch of Visual Studio 2008 and C#/VB.NET 3.0 before year’s end it is now a reality. Normally LINQ is associated with databases and replacing SQL statements with compile-time checking and type safety. However LINQ can be used with any data that can be enumerated such as XML files and in-memory data of all kinds.

Imagine the ease of teaching programming to students with syntax like:

int[] nums = new int[] {0,4,2,6,3,8,3,1};   var result = from n in nums
             where n < 5
             orderby n
             select n;

I look forward to teaching this way.

Technorati Tags:

About Michael Rees
Academic in IT interested in Web 2.0 and social media

Comments are closed.

%d bloggers like this: