SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 26 | Next

Scott Klein

"Professional LINQ"

So, you can now enjoy the benefits of a single declarative pattern
that can be expressed in any .NET-based programming language.
The result of making these set operations, transforms, and constructs first-class operations is a set of
methods called the standard query operators. These operators provide query capabilities that include
sorting, filtering, aggregation, and projection over a large number of different data sources. The standard
query operators are the focus of Chapter 4, ??????LINQ Standard Query Operators.??™??™
Think about it for a minute. A single set of query operators that work within any .NET-based
programming language, enabling you to write a query against a database, XML, or an in-memory array
using the same syntax? How cool is that? And you get the added benefit of IntelliSense and compile-time
type checking! Somebody pinch me.
To illustrate this great technology, take a look at an example that queries the directories of your C drive
and writes them to a list box:
DirectoryInfo di = new DirectoryInfo("C:\\");
var dirQuery =
from dir in di.


Pages:
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6