Chapter 4. LINQ to Objects
Unity in diversity
In the last two chapters, we have learned about lists and dictionaries. These are two very important data structures which .NET Generics has to offer. The ability to query these in an efficient manner is a very important factor for the all-over efficiency of an app.
Imperative programming languages enforce the how part of the program more than the what part. Let me explain that a little bit. Suppose you want to sort a list of
studentobjects. In an imperative style, you are bound to use a looping construct. So the what part is to sort the elements and the how part is the instructions that you write ...