I recently switched companies and therefore my Java hat to a C# hat.
The quality and information these videos provide is insane. Keep up the good work!
Okay, you are officially the first and only good tutorial I have ever seen on delegates. My issue has always been "Why?". Because I understand what delegates do but never understood why I would go through the trouble of setting them up. This shed light on everything! You're the only one to show how delegates can essentially carry the value of a method and make it transferable to different UI's without having to change very much.
Thank you so much for putting the time into these videos! I hope I can be a better developer by using this to my advantage because not even people I work with could give me this explanation.
Agreed, that's the problem with 99% of tutorials about this. They always approach it from the purely technical side of things, basically just "it can do this and this and this", which just makes it confusing and annoying. Only when seeing it implemented and applied to an actual problem a developer may face does it actually "click" and become relevant.
@@roydonk2878 very true, though, that's the problem with most tutorials about any abstract subject.
Oddly enough I originally went to college to be a researcher in physics and that sort of issue happens constantly when learning math. "This is what this equations does. Memorize it. Look, *writes out equation and solves it in minutes* its so easy."
I really appreciate videos like this and the people who make them because it has become apparent that teaching (like actual teaching) is a skill not everyone can learn. There are lots of "teachers" in the world and yet so few who are actually able to teach. I'm thankful Tim is someone who can actually teach a subject instead of just reading the definition out load.
Tim, you have completely changed the way I look at Delegates. The tutorial was easy to understand and I can't thank you enough for the kind of example that you picked up. I have went over numerous videos on this topic and I'm relatively new to C# but your presentation skills were so to the point that I was able to bridge the gap pretty easily. Please continue making great tutorials like these! I kept on running from delegates before watching this video
Its the hardest thing about learning new or advanced areas in coding, is that the simplicity of the example environment, obscures the usefulness of the new tool.
That is where practice helps. Trying out what you are learning can reveal what you missed or what was not taught. Then you know the right questions to ask to go deeper.
I cannot thank you enough for the extremely resourceful content you put on UA-cam for free. You are a exceptional Teacher and great developer. I almost always recommend your content to my co-workers and try to follow your best practices in my daily work.
@@shitpostinglel Yes you absolutely can, even at the best companies like Microsoft. Talking about entry level positions of course though
Hi Tim, just let you know that your lessons are becoming an important part of my life, I spend 2 or 3 hrs on listening to them and I love them. Thank you!
I love the way you explain things. Delegates have been a closed book for me until now. Now I get it.
Finally I have started to understand delegates and their usage. Thanks Tim!!
You are doing great work, one video at a time. Thanks a lot for your videos!
Thank you so much for all the hard work you put into making this content. Seriously one of the best, if not THE best C# tutorials I've found so far.
Comparing delegates and interfaces is one of the best explanations I've come across so far.
Mastered delegates for the first time. Really handy! Helped me to save loads of lines in my unit test. Thanks a lot for a great video.
We've waited for this and the wait was more than worth it. I'm bumping up my Patreon donations
Your tutorials are such a great help! I've never seen any other channel on UA-cam that explains C# and .NET as good as you do or as helpfu as you do
Come back to say Thanks!! I used the knowledge gain here in my actual work today! Very excited!!
Thank you so much for the video Tim.
Got clearer picture of Delegates, Func, Action and Lamba expression.
Hi Tim. It's been five years since I started working as a developer, yet I still find your videos instructive. There are things I thought I understood, but actually didn't and some aspects that were always foggy for me and that now are coming to light. Thanks for your work, your ability to explain sth you've understood is outstanding. I know a lot of developers that really know what they're doing, but when it comes to explain it to someone else, they fail miserably. Thanks again Tim.
Thanks, Tim!
Seriously an absolute game changer these here Delegates. I feared I'd have to do some weird two-way event thing to pass a request from the logic layer to the UI layer, and then the eventual user reply back to the logic layer. But this unlocks so many new possibilities for my code.
The last part that winform was connected to the function that uses delegate was the best part. Thank you for your contribution.
Thank you TIm, for these awesome videos. I can learn anything in C# with these videos.
Thanks Tim to take your time to explain this, is very useful for who is learning C # and for me, of course! Keep on going!
- The best explanation of Delegate.
- The best part of this video is that the focus is on details and that is where the devil lies.
- Keep up the good work Tim Corey. :)
Thank you sooo much! I never really understood delegates untill now. The videos you create are amazing and very helpfull. Keep up the great work!
I am enjoying even the comments, great discussions here awesome environment. Cnt wait for the next one!!!!
I've read about delegates in Shildt's book, then in Troelson's book and finally only after this amazing tutorial I get it. Thank you so much!
man this is such a great tutorial!! very complex topic but made simple by Tim, thank you so much.
Man, you make difficult things so understandable! You're awesome!
Very good explanation, I've programmed in C++ for a long time and when you showed the first example it clicked right away. Didn't even notice before that delegates are the same as function pointers for an example in C++
Another great tutorial. I'm still a little nervous around delegates and anonymous methods, but going through this tutorial helped so much. Thanks Tim.
Hi Tim,
Your videos are astonishing. I am (re)developing my skills, as I decided to unstick a label which was attached to my person, and which is kinda barrier in my carrier. But first I must tell you that I am watching your tutorials with pleasure not only because they all full of tips and valuable information but you dose them at a well selected tempo. It is nor too slow neither too fast. It requires good attention but repeating more difficult or condensed fragments doesn't annoy you and there is a very good reason why. It is your calm, energetic, bright and clear voice, the voice of a person who is sure of what he is speaking and how work the things he is speaking about.
Programming is my hobby, and I have developed many programs, aside of my everyday job, mainly in Builder C++ but I started with v3.0 and later didn't keep up with progressing technology. When I saw changes implemented in modern C++ standards 14, 17 ... I was a bit "shocked" discovering Pascal within C++ 😂 I was a bit angry and my son told my that my brain processor runs an obsolete operation system which wasn't patched for a very long time. I am plugged into the industrial automation and robotics world (STL, LAD, FBD, SFC, SCL ...) but fortunately I left some IT related ports open so I am able to upgrade my skills. From time to time I used some devices which work on the edge between IT and OT and faced some problem with samples in C#. As long as you do not need to bother much about programming from scratch, and it is enough to adjust and slightly modify provided examples you don't bother much. Currently I develop a bit more sophisticated software which uses Siemens Openness API and I found out that my knowledge must be quickly updated, especially its C# related area.
I was searching for some good resources, bought a book 700 pages book, and then found your channel - IMHO the best one.
Thank you very much.
JK
You are welcome. I'm glad my content has been so helpful. Thanks for sharing.
Thank you for this tutorial. Like your other content, it is comprehensive with theory and practical examples.
Great explanation. Not to fast and taking me step by step. Thanks. Used lamba expressions for a while now but its always nice to know what they do
Very helpful, have read about delegates a few times through the years but never fully understood them until now.
As a long time anti C#-er, I am finally learning to enjoy it.
man you are wholesome, asking is people are financially able
Thank you. My primary purpose is to help people. I definitely don't want people spending more than they should out of a feeling of obligation.
Thanks Tim. Excellent demonstration. Events and Delegates are no more a grey area to me.
Great thanks Tim for such a wonderful masterpiece. I immediately applied it to resolve my issue: when a lower level code needs to refer to a higher level's method, I used delegate to make it loose-coupled. feel amazed. thanks Tim, you're just the best. :)
That's an excellent way of teaching. It's much easier to understand like this instead of reading the concept in book. :)
Thank you for sharing your time and knowledge, you are doing a great job, God bless you!
You're a wonderful teacher m8! It's a subject way beyond of what we're currently learning in college but I wanted to give a try beforehand and WOW!!!! Up until Func/Actions I totally got it all then I kinda got lost but I know the 'clicking' moment is not far!!!
Thank you!
Helped me a lot to understand delegates and their use, thanks a lot man your videos really clarify a lot of the concepts i find confusing about C#.
Great video, nice and clear! Looking forward to the Async video / threading video.
I remember your video about the concept of interface so much that I could relate it with delegates.
I had to watch it twice to get it. Then was able to implement for a dev for a client. Thanks so much
i had the OHH YEAH moment when you create the subtotalalert method, thanks for this vid
Thank you for this very tutorial and other tutorials!! They give me a lot of insight into c#
Great video, Tim!
Already subscribed to you blog. I'll take a deeper look into the courses you sell.
Thanks a lot!
Very good explanation this really helped me to make my application more flexible.
Perfect! Totally the WOW tutorial about Delegates/Funcs/Actions... Please, make an Expression Tree tutorial following this one... 🙏🏻
very good tutorial love way of teaching why we need and when we should use
This is great stuff, I wish I would've seen this a few years earlier but better late then never!!
This reminds me of the AddressOf operator in VB6, which I implemented a few times. It also reminds me of how we used to declare and raise events in VB6. Good memories.
Yeah, delegates are really close to events (events are a type of delegate).
Hell yes!! Cant wait to watch it later today. Hope it has func and action covered
Excellent. As long as he sticks to his elaboration techniques i will be more than satisfied.
Its awesome. Still a bit of abstract but awesome. Ill watch it till i understand it.
awesome explanation... I will recommend this video to every beginner programmer.
Very good explanation. The conclusion for me (in this concrete case):
1. GenerateTotal can send "messages" to Main while it process its work.
2. I can write the code for some operation GenerateTotal does.
So GenerateTotal is just a plan, what have to do, but the concrete code is mine.
Hi Tim. I hope you feel better soon. I miss your lessons and wish you a good health.
Thank you for this video. Took 2 viewings before it sunk in...but persistence pays off.
Thanks for hanging there. Rarely can we pick up all of it in one pass, because there is just too much great info.
Figured out it is just a function pointer within the first 10 minutes. Thanks.
The best explanation so far. In my real life experience those concepts is very hard to implement because the deadline is very tight and the team has no time to think in better design patterns.
They are hard, which is why practicing them to get skilled at them is a big deal. The easier they are to do, the more likely you will be to use them in a real project.
No BS, I watched this video 5 days ago and used my knowledge to answer an in person interview question today!! Thanks Corey!
Awesome! Good luck on landing the job. Glad I could help.