Skip to Main Content
Visual C# 2010 Recipes: A Problem-Solution Approach
book

Visual C# 2010 Recipes: A Problem-Solution Approach

by Allen Jones, Adam Freeman
March 2010
Intermediate to advanced content levelIntermediate to advanced
1016 pages
20h 42m
English
Apress
Content preview from Visual C# 2010 Recipes: A Problem-Solution Approach

Chapter 16. Using LINQ

In some of the previous chapters, we illustrated how to use LINQ to perform queries on different types of data. Chapter 2 showed how to query collections and arrays, Chapter 6 to query XML trees, and Chapter 9 to query databases. This chapter shows you how to build on those simple examples to exploit the full flexibility of LINQ.

One of the best features of LINQ is that you can perform the same kinds of queries whatever the data source is. Each of the recipes in this chapter uses an array or a collection as the data source, but the same techniques can be applied equally to XML or databases. The recipes in this chapter are all self-contained and illustrate different LINQ features—but part of the allure of LINQ is that you ...

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.
Start your free trial

You might also like

Introducing Visual C# 2010

Introducing Visual C# 2010

Adam Freeman
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 9781430225256Purchase book