Take an in-depth exploration of delegates, events, and lambdas: C# elements for creating more efficient and flexible functions.
Overview
Syllabus
Introduction
- Using C# delegates, events, and lambdas
- What you should know
- Exercise files on GitHub
- Setting up the developer environment
- Overview of C# delegates, events, and lambdas
- Common delegate, event, and lambda scenarios
- Creating C# delegates
- Using anonymous delegates
- Using composable delegates
- Challenge: Programming delegate
- Solution: Programming delegate
- Creating C# event handlers
- Event chaining
- Challenge: Programming events
- Solution: Programming events
- Understanding C# lambdas
- Using lambdas as delegates
- Challenge: Programming lambdas
- Solution: Programming lambdas
- Where to go next
Taught by
Joe Marini