C# Delegates explained

preview_player
Показать описание

See our other Step by Step video series below :-

In this video we will try to understand the real use of delegates.

Рекомендации по теме
Комментарии
Автор

Do not miss our Interview Question video series

dnfvideo
Автор

Thank you for clarifying the "WHY" right away and calling out how stupid delegates seem at first glance.

In other tutorials that just start teaching you how to use them I can't concentrate and learn because I'm waiting for the actual reason you'd want to use them in a real situation the entire time.

mrbananaman
Автор

Every tutorial i've watched made me think delegates are very complicated until i've watched this and it became so simple! You are awesome, i love the way you teach!

DGangstaVEVO
Автор

The biggest question for me when hearing about Delegates in the first day was "Okay, but why? This seems awfully complicated to do something massively roundabout", and thankfully you solved that in the first minute! Many thanks for the wonderful explanation :)

MeleeChannel
Автор

I appreciate that you talked about the reasons why to use delegates. Most videos I have found on this topic just go directly to code and show how to use the delegate with no attempt to explain why, or what it's doing or how it fits in. It's a difficult concept to get clarity on, and a lot of YouTubers don't seem to really know how it works or why; they just know how to make it work without really understanding.

scottcase
Автор

I'm not new to delegates, but found this presentation very useful when I've been looking for a way to explain delegates to others. After watching your video explaining delegates has become easy and meaningful. Thank you!

ThePGloor
Автор

Just adding to what you said, delegates can also be used to invoke function asynchronously on a separate thread using BeginInvoke

permindersingh
Автор

I watched an 90 minute tutorial on Delegates yesterday, but couldn't really understand why they looked strange and what I might use them for. Less than 9 minutes here and its clear. Thank you!

titanicpat
Автор

Thank you!! I’ve been searching for forever for a decent explanation of delegates. You made it clear and simple to understand in this video. 🙏

macsoccer
Автор

Your accent is more crisp then any teacher i know. Very easy to listen to and comprehend. Keep up the good tutorials !

colinrickels
Автор

Excellent !!!

Very concise, clear explanation. This the second of your tutorials I have followed, first was threading.

Just some general feedback; maybe in your examples you should use real world "objects" when discussing classes and functions. So instead of just "obj", use something like "ACUnit". This has real world context that makes it easier for people to follow your examples. Each AC has properties and methods that u can call

I think it makes teaching easier

dlmaher
Автор

good basic kick start but it would be great if you make more videos on this to explain the real power power of delegates when we talk about loosely coupled systems or Event Broker or Observer kind of pattern and that will help the community.

Thank you making this video and wish to see your more.

Sufferingitbastards
Автор

This is the best and most human like explanation I could find. I got the concept now, thank you so much!

KamilKubiak
Автор

Indian accent? Yes
Less than ten minutes? Yes
6 years old? Yes
Great explanation? Yes
Dunno where this comment going anymore? Yes
*This video is a legend.*

nerdcartoon
Автор

You just got an extra subscribers. Succinctly explained. Not assuming and talking about the why. It is missing in most videos. Most people assume that the point will be gotten from just the simple but "stupid" definition. Thank you for going the extra mile to explain the why...very important and much appreciated.

peculiarbabalola
Автор

I don't think that it is only about callbacks. In C# 7, you can pass a method as a parameter, without using delegate, so according to you these delegates should have been removed from C# 7, but delegates have one more, more important role to play and that is to use it for events.

anshubudhiraja
Автор

I liked the way he explained it, literal explanation of the delegate and finally the callback function example. It made a little more sense now.

x
Автор

Very clear explanation. I've finally got it!

robertmasterofpain
Автор

screen should have less zoomed so everything could have been displayed in one page

prashantb
Автор

This is a great tutorial thank you!

And now I will look for the purpose of delegates in He-Sharp :-)

bruinflight