Mimir, Keeper of the Well of Wisdom
Advanced C# 14: Delegates, Pattern Matching, and Source Generators
https://app.pluralsight.com/library/courses/advanced-c-sharp-14-delegates-pattern-matching-source-generators
Year : 2026
Language : English
Level : Advanced
Category :
Subcategory :
Duration : 3h 31m
Lectures : 27
Rating : 0/5
Students :
INSTRUCTOR(S)
Filip Ekberg
Filip is an enthusiastic developer that strives to learn something new
every day. With almost two decades of experience in .NET, Filip
actively spreads his knowledge and ideas around the globe, be it
speaking at conferences or online. Filip has worked in a range of
different technologies such as WPF, Win Forms, ASP.NET, ASP.NET Core,
Xamarin and .NET MAUI. In 2012, Filip published the book C#
Smorgasbord, covering a vast variety of different technologies and
patterns using C#, and right after Filip was introduced as an author
at Pluralsight. After that, he was awarded the Microsoft MVP award for
10 years in a row.
HEADLINE
Modern C# introduces features that can significantly reduce
boilerplate and improve how you structure your code. This course will
teach you how to apply delegates, pattern matching, and source
generators in real-world applications.
WHAT YOU'LL LEARN
REQUIREMENTS
WHO IS THIS COURSE FOR
DESCRIPTION
Most C# applications end up with repetitive code, unclear intent, or
overly complex logic when trying to stay flexible and maintainable.
In this course, Advanced C# 14: Delegates, Pattern Matching, and
Source Generators, you’ll gain the ability to build cleaner, more
expressive applications.
First, you’ll explore how to use delegates and higher-order functions
to make behavior configurable and reusable.
Next, you’ll discover how advanced pattern matching can simplify
complex logic and make your code easier to read and reason about.
Finally, you’ll learn how to leverage source generators to improve
productivity and reduce manual, repetitive code.
When you’re finished with this course, you’ll have the skills and
knowledge of modern C# language features needed to design and build
clean, flexible, and maintainable applications.
LINKS
None
COURSE CONTENT
[1] Working with delegates
1. Introducing the delegate [9:35]
2. Creating, using, and invoking delegates [13:18]
3. Delegates with return values and parameters [9:02]
4. Multicast delegate and chains [7:14]
[2] Lambdas and anonymous functions
5. Introducing lambdas and anonymous functions [10:00]
6. Lambdas in minimal APIs [4:02]
7. Using Action<T> and Func<T, Result> [7:18]
8. Delelgates, lambdas, and anonymous functions recap [5:08]
[3] Events
9. Introducing events [11:02]
10. Subscribing to events [5:44]
11. Event data [12:04]
12. Importance of unsubscribing [10:15]
13. Recap [4:51]
[4] Pattern matching
14. Introducing pattern matching [9:05]
15. Switch expression [7:35]
16. Type, declaration, and constant patterns [4:28]
17. Positional pattern [7:44]
18. Property pattern [3:21]
19. Logical and relational patterns [10:48]
20. List patterns [5:10]
21. Recap [5:56]
[5] Improving productivity with source generators
22. Introducing source generators [6:56]
23. The problem with runtime approaches [8:53]
24. Building a simple source generator [10:39]
25. Applying source generators in practice [6:27]
26. Using source generators with attributes [8:48]
27. Source generators in the real world [5:38]
DATES
Published : 2026-04-22
Last Updated : 2026-04-22
If you fear the truth, dont come to my well.