Track 4C# & the .NET Runtime
Functional C# & LINQ
Treat behavior as data with delegates and lambdas, then query anything with LINQ.
- 4.1
Delegates & lambdas
- Func / Action
- Lambda expressions
- Closures
- 4.2
Events
- event keyword
- Publishers & subscribers
- 4.3
LINQ
- Where / Select / OrderBy
- GroupBy / Join
- Query syntax
- Deferred execution
- LINQ basics: filter, project, sort— Query collections declaratively with Where, Select, OrderBy and LINQ's aggregate methods.13 min
- LINQ: grouping, joining and flattening— Summarize data with GroupBy, combine sequences with Join and SelectMany, and meet query syntax.13 min
- Deferred execution and iterators— Understand when LINQ queries actually run, and write your own lazy sequences with yield return.12 min