CHAPTER 12

images

Linq in C#

This chapter will discuss the Language Integrated Query (Linq) in .NET and explore in detail the extension methods defined in the Enumerable class that are provided to do the Linq operation using C#. First, you will learn the basics of Linq and then examine the behind-the-scenes operations of each of the extension methods provided in the Enumerable class. Based on their delegate-based query syntax, you will learn the internal implementation of these extension methods using the help of ildasm.exe and .NET Reflector tool.

First Look into Linq in .NET

In .NET, any data structure that implements IEnumerable<T> from the System.Collections.Generic ...

Get Expert C# 5.0: with the .NET 4.5 Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.