Skip to Content
Microsoft® Visual C#® 2012 Step by Step
book

Microsoft® Visual C#® 2012 Step by Step

by John Sharp
December 2012
Beginner to intermediate content levelBeginner to intermediate
844 pages
25h 38m
English
Microsoft Press
Content preview from Microsoft® Visual C#® 2012 Step by Step

Chapter 21. Querying In-Memory Data by Using Query Expressions

After completing this chapter, you will be able to

  • Define Language-Integrated Query (LINQ) queries to examine the contents of enumerable collections.

  • Use LINQ extension methods and query operators.

  • Explain how LINQ defers evaluation of a query and how you can force immediate execution and cache the results of a LINQ query.

You have now met most of the features of the C# language. However, so far I have glossed over one important aspect of the language that is likely to be used by many applications: the support that C# provides for querying data. You have seen that you can define structures and classes for modeling data and that you can use collections and arrays for temporarily storing ...

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

Microsoft® Visual C#® 2008 Step by Step

Microsoft® Visual C#® 2008 Step by Step

John Sharp
Beginning Microsoft® Visual C#® 2008

Beginning Microsoft® Visual C#® 2008

Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White

Publisher Resources

ISBN: 9780735679375Purchase book