What is a C# Delegate and how does it help my code? + Example
ฝัง
- เผยแพร่เมื่อ 19 ก.ย. 2024
- In this video you will learn what a delegate is, and how it can help you write better code in C#
🚀 Master C# and .NET programming EASILY with our best-selling C# Masterclass: bit.ly/47Hk3u7
The delegate pattern is a powerful one, tackling the problems of spaghetti code and unnecessary complexity with ease. Learn what delegates are and how to use them to write easy-to-read, elegant code in C#.
Writing code is easy when you use Delegates.
In the delegate pattern, code is organized into methods that will be executed on behalf of other objects. This means we can easily centralize and maintain our logic without creating a mess by over-nesting different functions within each other. Delegates are an essential tool for writing modular C# applications!
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x
🚀Master C# and .NET programming EASILY with our best-selling C# Masterclass: bit.ly/47Hk3u7
FINALLY, I UNDERSTOOD IT. THANK YOU.
You're a very good instructor, Thank You
This video is easy to understand delegates is very useful.
Thank you !!!
Thanks for the clear explanation
Thx you for helping everyone
Make a full course on c# shocket
ok now I just need to learn what a ui library is to understand the example. This rabbit hole doesn't end.
Good content
Thanks Mohd
I need some clarity on it is java is important to learn to be part of android app developer
If you work on older projects, it might by. Else Kotlin is the right language
@@tutorialsEU I want to get job as a fresher in android app developer but I unable to set my correct path .what to learn and what is necessary and unnecessary that is my problem 😞
@@tutorialsEU tq for suggestion❤️
Hello bro, how to become an android app developer?
I want to learn Java to become android app developer or else can I go with kotlin or learn both of them
Hi,
I would recommend to learn Kotlin if you want to become an Android App Developer. Alternatively Flutter is a great option.
@@tutorialsEU there is no use of learning java to be a android app developer
@@teluguunderratedgamer4541 If you work on older projects
No matter who the teacher or what the example is, I CANNOT understand delegates. It just does not make sense to me!!
Hey bro, have you understand it yet? cuz I still dont understand it. If you have a good video that makes more sence, send it to me
How come u knw all the programming languages
I learned them :P
Pls reply me 👍
Wer mag Pizza ? 🍕