Page 10 : 11
Object-oriented Programming in C#
An Introduction to LINQ
Origin and Rationale
LINQ Concepts
Map, filter, and reduce
Basic LINQ Examples
An overview of some LINQ Query Operators
LINQ Query Operations vs List<T> methods.
How a LINQ Query Operation works
Deferred Execution
The technical basis of LINQ
Query Syntax versus Method Syntax
A Final Example: Sieve of Eratosthenes.
Query Syntax versus Method Syntax
Query Syntax
is syntactic sugar on top of the
Method syntax
, which we have introduced above
The average age of all females - revisited.
Same program with use of query syntax.
A comma-separated list of all male first names, youngest first - revisited.
Same program with use of query syntax.