Lecture overview -- Keyboard shortcut: 'u'  Previous page: The technical basis of LINQ -- Keyboard shortcut: 'p'  Next page: A Final Example: Sieve of Eratosthenes. -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Page 10 : 11
Object-oriented Programming in C#
An Introduction to LINQ
Query Syntax versus Method Syntax

Query Syntax is syntactic sugar on top of the Method syntax, which we have introduced above

/user/normark/oop-csharp-1/sources/c-sharp/linq/ex1.csThe average age of all females - revisited.


/user/normark/oop-csharp-1/sources/c-sharp/linq/ex1-qs.csSame program with use of query syntax.


/user/normark/oop-csharp-1/sources/c-sharp/linq/ex3.csA comma-separated list of all male first names, youngest first - revisited.


/user/normark/oop-csharp-1/sources/c-sharp/linq/ex3-qs.csSame program with use of query syntax.