Language Integrated Query (LINQ) is a very powerful new technology coming to
us with Visual Studio 2008. There is a great deal of innovation going on in
the LINQ space, including innovative projects like LINQ-to-Flickr and
LINQ-to-Amazon (among many others), in addition to the great things Microsoft
is providing in LINQ-to-SQL and LINQ-to-XML.
This article dives deeper into the more mundane details about how to
optimally query data you already have in memory via LINQ-to-Objects. LINQ
lets you do queries on any object (typically collections or arrays) that
support IEnumerable. For example, if you have an online bookstore, you
might decide to cache your products in memory on the Web server to improve
performance. In such a case, you might have a List bookCache th... (more)