👁️ Delegates, Lambda Expressions & Closures in C# ● Tutorial Preview (Patreon)
Content
Hi everyone! 👋
Believe it or not, one of my most popular tutorials is the one about Enums, Flags & Bitwise Operators in C#. For this reason, I have decided to cover another tricky—yet very powerful—aspect of C#: functional programming.
Following a recent poll on Twitter, a lot of people were keen on longer tutorials (rather than several shorter ones). So, get ready for quite a beefy article!
In this exclusive preview, we will talk about the following...
- Anonymous functions
- Delegates
- Anonymous delegates
- Multicast delegates
- Lambda expressions
- Lambda statements
- Expression-body members
- Expression trees
- Local functions
- Closures
The focus will mostly be on delegates, lambdas and closures, but I hope you will find the other topics very interesting!
All of this is also supported in Unity, so this is all good knowledge that you can use to improve your code!
As always, thank you for your support and feel free to get in touch if you have any question! 🙏
🧔🏻
Files
Previews only