Love how you basically started from nothing instead of started with the codes already in place. Always thankful for your generosity and willingness to teach other people.
Even 7 years later after this video has been uploaded, I want to notice you that there are many people who are still confused about it. and there are many books and tutorial videos on youtube, but there is no such tutorial video that explains how to use it and why it's used that well and simple. This is one of the best and awesome tutorials I've ever met. thanks to your video, their people never need to buy a book for it.
This is probably the best tutorial on events and event handlers....all the other's just whip right through each concept and it's nearly impossible to follow unless you already understand it...in which case you don't need the tutorial. You take the time to explain what each thing REALLY IS and the HOW and WHY that thing is important for creating a successful event.
Years after the fact and this is still the best video that explains this subject. Thank you so much for your simple, no-nonsense explanation and easing the viewer into the more complex subject matter only *after* explaining the absolute basics.
To be honest, I never expected a tutorial this good when I felt like reading up on delegates and events again after feeling like I lacked in this area. This video was incredibly helpful, and explained the topic in a simple and the most uncomplexed way possible. Subscribed. Thank you.
*TRIGGER WARNING, ARGUING FOR THE SAKE OF ARGUING, it is also rhethorical question, tutorial is good* How am I supposed to know what int is and why I need ; at the end of line if I never looked at code before nor know what anything means?
If you don't know what an int is or what the semi colon is for you shouldn't be learning about events and delegate...in fact you should be learning the absolute basics if you don't know what either of them are for. It would be like trying to learn to run, yet you can't even crawl..
+Daniel Rosenbrock There wouldn't be any arguing if you just explained to him what they do instead of criticizing him. It's as simple as saying, "Semicolons indicate the end of each line. Ints are integers."
Dude this tutorial is sick, thank you so much. As a less experienced programmer, explaining this programming concept in detail without a heap of jargon made this superrrrr accessible
Man, my teacher spent hours explaining this, and i couldnt seem to grasp it, but with just merely 30mins of your video, i got it, thanks bro, appreciate it, this is simplicity at its finest
This is by far the best and most complete introductory tutorial for Delegates and Events that I have ever seen. You did a fantastic job of explaining all the different aspects of events, why they are useful, and I love how you started from a simpler design and then went back and added some more to it.
After three years in C#, I finally understand events and Delegates.....I have to go and refactor some codes....Many thanks Mosh......Greetings from Nigeria
This video has solved my question very well,I have been confused about events and delegates for several months and i try to understand them by reading books,but it is not easy to understand them fully until i meet this video, thank you,Mosh,Good job!
OK, by far the best freaking Teacher out there. You took something complex and broke it down. I will be purchasing your course SIMPLE BECAUSE YOU DESERVE IT! whether my or my co-workers need it or not - you're getting it!
This is great! I really appreciate that you took the time to first show the 'formal' way of doing it then showing the shortcut.. most would just show the shortcut!
I finally understand events!! Your amazing. I've Been programming for over ten years and avoiding events for as long as I can. Now I can create true uncoupled code. I've subscribed and set alerts!!!!!! Thank you!!!!!
hmmmm , so what would you then say if u watch his Video about INTERFACES, showing that so many books and youtubers teaching the developers false concepts like ( INTERFACE is used for Multi-inheritance ).. If you are one of those who thing the INTERFACE is so , so I would strongly recommend you to watch his legendary Course "C# Intermediate Classes, Interfaces and OOP"
I've been working on a feature in an app I'm doing for a client and literally spent 10 hours of jiggery pokery in the code with nothing working. 2/3rds of the way through the video and with a little tweaking I got the feature working!! 😭 Thank you so much you are a god send!!!!! 😭
Bro you have given me a new life by explaining this video on delegates and classes and resharper..i am so grateful..i wish i had the confidence to check this video out sooner..but i am hoping with your blessings i can find good work in software again..just low on confidence the last 2 and half years after losing my family and now getting to see my son once a week and for christmas and new years..you saved my life bro...grateful..god bless you...sorry for being overdramatic but such is life now..parents are the only ones who care about me and my son
The best video lesson about C# programming I've ever seen. Now i'm reading Andrew Troelsen Pro. C# and after i read that topic in my book i was little bit confused. I wached many videos about that in russian language, cause i'm not wery good in english. Then I saw that lesson and now it is clear. Thank you! I'm subscribing.
To expand on this quickly: delegate = More or less a variable, but rather than storing data, it stores one or more methods, provided they adhere to the exact signature. event = Expands on delegate to provide protection for malicious code potentially being run... Things like the delegate being overriden or overloaded, and a few other things like that. Technically, this can all be done without using the event keyword at all. You can just add the other classes [the subscribers] to the delegate method, and when the publisher calls the delegate method, it runs through every method that has been stored in it. Just to give an actual explanation of what's going on here...
I watched this 7 months ago and only sort of understood the concept. I bought your Intermediate course on sale at Udemy and got to the INotificationChannel section which brought me back here to this video. Now I can fully comprehend it! Thanks again! :)
Events/Delegates is asked in every .NET interview and I have always shied away from this topic. I have an interview tom morning and can't wait to explain this exact same thing to the interviewer :p Thanks Mosh!
I've watched a lof of Videos learning c# ididn't got the Meaning of Delegate, Events before, but Now its more Clear and simple Thank u so much and i had never make a like for a video before but u absolutelry deserve it
Same as many other, you made Delegates and Events Crystal Clear to me :D. But, why have you used EventHandler over Func and Action ? What are the Pro and Cons ?
Okay so I was short on time and I had to write a code snippet using delegates and events. I found this 30 minutes video and some others but being aware of the simplicity of Programming with Mosh, I decided to watch this one. And after completing it "I am here to confirm that I now have a very clear and pretty good understanding of Events and Delegates and can write code using them". Hence, proved once again that Mosh Hamedani is one of the best teachers in explaining things at the most easiest level. Thank you so much, God bless!
This saved my bacon. Thank you so much!!! I was so confused, especially about delegates, but you explained the relationship and all the syntax perfectly in simple examples without 100 lines of confusing extras.
I am your student on udemy, your approach to explaining the complex topics is suberb. I have been looking for Tut's on delegates . Went though lot of them but tu hey were emm little difficult to understand. I didn't know u were on utube and this one does the trick for me, now I know where to look for .net Tut's on you tube. Thanks sir.
Damn, you've taught this topic in less than 15 minutes and Tim Corey couldn't even do it in 40 minutes. Honestly, I'm disappointed in how Corey chose to explain this topic and Tim seems like he doesn't plan his videos, at least when he's trying to explain a intermediate concept.
In-depth, Easy to understand the Scenario of Events & Delegates, i have seen lots of videos to understand some confusion but this is one of the best to explain this subject. And obviously, in my Software Engineering life, i always ping Sir Mosh to understand solutions in-depth.
Your explanation of delegates in c# is great. I like how you keep my attention on what you are teaching with the changes in intonation and volume with your voice. I will have to check out your other videos. thanks.
You were born a teacher man, my absolute favorite instructor and one of my reasons to pick .Net stack because you explain it very well greetings from Syria.
Fantastic video. Everything was understandable. My poor memory is overwhelmed so I will have to rewhatch this tutorial probably 3 times but at least I see the light in the delegate tunnel. I have been struggling for several days to understand how to implement delegate in your everyday coding.
@Programming with Mosh i watched +6 videos trying to understand events + uni scripts... and couldn't understand it. And this video made it so simple and easy
It is a great tutorial overall. Here is some summary from my understanding. First, we define the delegate and event in the publisher. Second, we raise the event in the publisher as well. Thirdly, we subscribe the event in the main function, by giving the statement (publisher.eventname+=subscriber.evenhandlername). Lastly, we implement the eventhandler in the subscriber.
This is one of the nicest and well-explaining videos regarding programming in C# that I've found on TH-cam. Would even say that it's Pluralsight-level, although it's free to watch. Thank you very much, keep up the good work!
Perfect......main part of this video is what was the need of events and delegates and you mention it very well that is to make loose connection between two or more entities...no body mentioned this point except how to implement it, and bla bla bla bla ..thanks a lot Mosh...
I was trying to learn this from "C# in a Nutshell" book and that was kind of dry. This was a superb explanation, absolutely perfect teaching Mosh, thank you!
This was awesome video. I have watched several other tutorials on this topic, but none of them explained it in a way I could understand for the purpose I had in mind (not a GUI application). Your video seemed to be tailored to the way I think and absorb information. Thank You!
Thanks Mosh, always so good! I did take your React course, I did abandon but it was because I did not see much utility if Blazor is coming... I would like to see you explaining Blazor, we need that!
Hi Mosh, appreciate your tutorial, guess what? I read manual over event/delegate and I couldn't get it, after watching your tutorial everything is crystal clear. So you did a great job, thank you man!
I'm just getting into learning about and using events and this video helped me solve a lot of headache problems and understanding how delegate and events work. I''m still struggling but this helped me a lot. Thank you Mosh!
Excellent explanation! I had just a vague idea about how events come into existence and how they work, but I had no problem implementing events into my project and understanding it throughly after the video. The explanation was so clear that there was no need to pause, because everything was put so simply that it seemed that I knew it all along. Thank you.
It’s 1am in my area, and I think I have to watch this video a few more times to understand everything and get ahead in my advance C# class. Great Video!
Saw one of your videos thumbnail, and thought to myself. No way im gonna go with Derek Banas or Bucky from TheNewBoston... but that was the wrong move. Just as great as the others, and you actually made delegates seem very understandable. Good job.
Superb... I used to be always confused on tie up between event and delagates and how to invoke it. This video gave a very clear picture. Thank you Mosh
I am really happy with how you built these lessons. Although he does not have an exceptional knowledge of English I managed to follow and understand everything. In other courses or videos there are people who speak incomprehensible English. Too fast and full of words called with dialectal inflection. Congratulations for this and above all for how matter is explained.
Thank you so much Mosh. This is the best delegate/event tutorial for C# I have seen. I had to watch the video twice but at the end of the second watching I had a strong understanding of these concepts. Thank you!
Thank you for the in-depth video. I know this isn't a new video, but it contains a perfect example of a concept that can be difficult for new C# programmers to grasp. Excellent content, well put together.
I think it's the clearest example about how to use Events in all Internet! Thanks Mosh! Would be cool see one of this example using Winforms! Im pretty sure u will received even more views!!
Really good explanation of how to use an event. Nicely brought it all together when you replaced the initial delegate definition (at the start) with the EventHandler defiinition at the end. The only thing I would add is that many people might not understand the reason to actually use the keyword "event" in the VideoEncoder class. Removing this keyword will result in this code example to still work HOWEVER this keyword is still necessary. (basically it provides protection to the Event so as not to be abused by other outside objects).
This video is great! I was reading so much on the internet about this, but the examples used, were not explained step by step as you do. Now I finally understood how to use events correctly and also learned a bit about delegates. Thanks!
Another Great Video ! Your tutorials have convinced me to convert my religion from Java to C# .. even in this lecture events and delegates have much nicer syntax than java's inner anonymous classes(what a nightmare)... now im gonna check Lambdas in C# next. thanks & Kudos
I've looked at a lot of tutorials for events. This one did the trick for me. Broken down to its simplest form. Thank you very much Mosh.
mosh is fairly good, i always cross reference when i study
same with me
Love how you basically started from nothing instead of started with the codes already in place.
Always thankful for your generosity and willingness to teach other people.
As a seasoned C++ developer, I don't know why events and delegates aren't explained this way: straightforward and uncomplicated. Thank you, Mosh.
He did not explain the basic but right away went to type of events standard code used only in winforms and webforms
@@arrrryyywhat is at 1:00 ?
I couldn't agree more
Even 7 years later after this video has been uploaded, I want to notice you that there are many people who are still confused about it. and there are many books and tutorial videos on youtube, but there is no such tutorial video that explains how to use it and why it's used that well and simple. This is one of the best and awesome tutorials I've ever met. thanks to your video, their people never need to buy a book for it.
One of the best tutorials I have ever seen in TH-cam. You gained a new subscriber today. Keep up the good work man!
This is probably the best tutorial on events and event handlers....all the other's just whip right through each concept and it's nearly impossible to follow unless you already understand it...in which case you don't need the tutorial. You take the time to explain what each thing REALLY IS and the HOW and WHY that thing is important for creating a successful event.
Years after the fact and this is still the best video that explains this subject. Thank you so much for your simple, no-nonsense explanation and easing the viewer into the more complex subject matter only *after* explaining the absolute basics.
To be honest, I never expected a tutorial this good when I felt like reading up on delegates and events again after feeling like I lacked in this area.
This video was incredibly helpful, and explained the topic in a simple and the most uncomplexed way possible.
Subscribed. Thank you.
This is called teaching skills , explained complex topi in simple way like int i =0;. Great job!!
*TRIGGER WARNING, ARGUING FOR THE SAKE OF ARGUING, it is also rhethorical question, tutorial is good*
How am I supposed to know what int is and why I need ; at the end of line if I never looked at code before nor know what anything means?
If you don't know what an int is or what the semi colon is for you shouldn't be learning about events and delegate...in fact you should be learning the absolute basics if you don't know what either of them are for. It would be like trying to learn to run, yet you can't even crawl..
Daniel Rosenbrock You shouldn't be on internet if you take everything seriously, fuck off.
Mate I encounter many idiots on the daily just assumed you were one of them...now I know you are one of them :)
+Daniel Rosenbrock There wouldn't be any arguing if you just explained to him what they do instead of criticizing him. It's as simple as saying, "Semicolons indicate the end of each line. Ints are integers."
Clear and uncluterred as usual. Mosh is one of my favorite teachers. I respect all my teachers, and so the Mosh! Thanks!
Dude this tutorial is sick, thank you so much. As a less experienced programmer, explaining this programming concept in detail without a heap of jargon made this superrrrr accessible
Man, my teacher spent hours explaining this, and i couldnt seem to grasp it, but with just merely 30mins of your video, i got it, thanks bro, appreciate it, this is simplicity at its finest
I've struggled with delegates and events for a long time and this is the tutorial that drove it home for me.
You can always rely on this guy Mosh, I have already bought some of your courses and now I am definitely buying your C# one, thankyou so much!
This is by far the best and most complete introductory tutorial for Delegates and Events that I have ever seen. You did a fantastic job of explaining all the different aspects of events, why they are useful, and I love how you started from a simpler design and then went back and added some more to it.
After three years in C#, I finally understand events and Delegates.....I have to go and refactor some codes....Many thanks Mosh......Greetings from Nigeria
This video has solved my question very well,I have been confused about events and delegates for several months and i try to understand them by reading books,but it is not easy to understand them fully until i meet this video, thank you,Mosh,Good job!
OK, by far the best freaking Teacher out there. You took something complex and broke it down. I will be purchasing your course SIMPLE BECAUSE YOU DESERVE IT! whether my or my co-workers need it or not - you're getting it!
This is great! I really appreciate that you took the time to first show the 'formal' way of doing it then showing the shortcut.. most would just show the shortcut!
I finally understand events!! Your amazing. I've Been programming for over ten years and avoiding events for as long as I can. Now I can create true uncoupled code.
I've subscribed and set alerts!!!!!! Thank you!!!!!
helped me instantly man!! Now I can see!!!!!!!!!!!!!!!!!
Very clear, thank you very much! Keep making videos like this- many, many thumbs up will follow
Same, I looked all over the MSDN website and it just didn't explain anything well. Thanks a ton man!
hmmmm , so what would you then say if u watch his Video about INTERFACES, showing that so many books and youtubers teaching the developers false concepts like ( INTERFACE is used for Multi-inheritance )..
If you are one of those who thing the INTERFACE is so , so I would strongly recommend you to watch his legendary Course "C# Intermediate Classes, Interfaces and OOP"
Best Comment Ever ! :P
I've been working on a feature in an app I'm doing for a client and literally spent 10 hours of jiggery pokery in the code with nothing working. 2/3rds of the way through the video and with a little tweaking I got the feature working!! 😭 Thank you so much you are a god send!!!!! 😭
This actually helped me a lot, I have been struggling for hours.
So simple and straight to the point.
Thank you very much!
Bro you have given me a new life by explaining this video on delegates and classes and resharper..i am so grateful..i wish i had the confidence to check this video out sooner..but i am hoping with your blessings i can find good work in software again..just low on confidence the last 2 and half years after losing my family and now getting to see my son once a week and for christmas and new years..you saved my life bro...grateful..god bless you...sorry for being overdramatic but such is life now..parents are the only ones who care about me and my son
This is the Best Video on Events and Delegates .......
Thanks So Much ... and Pls keep up .....
و الله يا موش أي حد بيرشح أي حاجة من ناحيتك بفتحها و اتعلمها و أنا مغمض و كل مرة مش بتخيب ظني ♥
شكراً يا موش
Thank you mosh ♥
Holy cat, this is the most clearest and easiest explanation to follow
The best video lesson about C# programming I've ever seen. Now i'm reading Andrew Troelsen Pro. C# and after i read that topic in my book i was little bit confused. I wached many videos about that in russian language, cause i'm not wery good in english. Then I saw that lesson and now it is clear. Thank you! I'm subscribing.
More C# tutorials sir, you are amazing.
I don't have better words than what Viktor said "The best explanation I've ever seen on TH-cam on this topic!!! Thanks! Cheers from UK"
To expand on this quickly:
delegate = More or less a variable, but rather than storing data, it stores one or more methods, provided they adhere to the exact signature.
event = Expands on delegate to provide protection for malicious code potentially being run... Things like the delegate being overriden or overloaded, and a few other things like that.
Technically, this can all be done without using the event keyword at all. You can just add the other classes [the subscribers] to the delegate method, and when the publisher calls the delegate method, it runs through every method that has been stored in it.
Just to give an actual explanation of what's going on here...
Mosh. You are a genius. In my entire career I didn't see so much easily explained video on such confusing subject Event and Delegate. Good Job...
This was amazing exhibition of using delegates and events with a superb real time example.Amazing work.You have a new subscriber to your list :)
I watched this 7 months ago and only sort of understood the concept. I bought your Intermediate course on sale at Udemy and got to the INotificationChannel section which brought me back here to this video. Now I can fully comprehend it! Thanks again! :)
Events/Delegates is asked in every .NET interview and I have always shied away from this topic. I have an interview tom morning and can't wait to explain this exact same thing to the interviewer :p Thanks Mosh!
So how did you do? Were you asked about delegates during the interview?
Yea same with m I also shy from delegates
I was able to defend my hold on events/delegates this time. Practical examples do help 👍
At last I found one video which really explains what delegates and events are all about. I owe to you for this great video, Mr. Mosh.
The best explanation I've ever seen on TH-cam on this topic!!! Thanks! Cheers from Russia!
It is the best tutorial on c# "Events and Delegates" that I've ever seen!
Best video to understand events and delegates.. Thanks!!!
I've watched a lof of Videos learning c# ididn't got the Meaning of Delegate, Events before, but Now its more Clear and simple Thank u so much and i had never make a like for a video before but u absolutelry deserve it
Same as many other, you made Delegates and Events Crystal Clear to me :D. But, why have you used EventHandler over Func and Action ? What are the Pro and Cons ?
Thoscellen cuz of argument bro sender and eventarg are only in eventhander fun action predicate related to linq i think
was watching this video 1 hour before an uni deadline. you've saved me. thank you.
Very nice video, hard work is done to help others.Really different perrsonality
Okay so I was short on time and I had to write a code snippet using delegates and events. I found this 30 minutes video and some others but being aware of the simplicity of Programming with Mosh, I decided to watch this one. And after completing it "I am here to confirm that I now have a very clear and pretty good understanding of Events and Delegates and can write code using them". Hence, proved once again that Mosh Hamedani is one of the best teachers in explaining things at the most easiest level. Thank you so much, God bless!
Nice job! congrats from Brazil!
I’ve seen many videos to try understand Events and Delegates, I can say this is the most clear, understandable and practical of them all. Congrats!
EXCELLENT TUTORIAL!!!
This saved my bacon. Thank you so much!!! I was so confused, especially about delegates, but you explained the relationship and all the syntax perfectly in simple examples without 100 lines of confusing extras.
Awesome! Thanks for posting this. Gotta watch it again a few times to get the hang of it though :)
This is unarguably the best video I have seen on C# events and delegates. Very detailed and explanatory!
This is some top quality teaching! Subscribed! +=
hahaha nice
subscribers ++;
You made this click instantly in my head. Much better than the paid tutorials!
If you were my college teacher i'm probably a software architect now.
I am your student on udemy, your approach to explaining the complex topics is suberb. I have been looking for Tut's on delegates . Went though lot of them but tu hey were emm little difficult to understand. I didn't know u were on utube and this one does the trick for me, now I know where to look for .net Tut's on you tube. Thanks sir.
This tutorial was extremely helpful
This is the best tutorial on Events & Delegates available anywhere on the internet. Thank you for sharing your knowledge.
Damn, you've taught this topic in less than 15 minutes and Tim Corey couldn't even do it in 40 minutes. Honestly, I'm disappointed in how Corey chose to explain this topic and Tim seems like he doesn't plan his videos, at least when he's trying to explain a intermediate concept.
In-depth, Easy to understand the Scenario of Events & Delegates, i have seen lots of videos to understand some confusion but this is one of the best to explain this subject.
And obviously, in my Software Engineering life, i always ping Sir Mosh to understand solutions in-depth.
Your explanation of delegates in c# is great. I like how you keep my attention on what you are teaching with the changes in intonation and volume with your voice. I will have to check out your other videos. thanks.
You were born a teacher man, my absolute favorite instructor and one of my reasons to pick .Net stack because you explain it very well
greetings from Syria.
Fantastic video. Everything was understandable. My poor memory is overwhelmed so I will have to rewhatch this tutorial probably 3 times but at least I see the light in the delegate tunnel. I have been struggling for several days to understand how to implement delegate in your everyday coding.
@Programming with Mosh i watched +6 videos trying to understand events + uni scripts... and couldn't understand it. And this video made it so simple and easy
There are so many tutorials that don't explain and just 'do'. Thanks for really explaining, I learned a lot.
It is a great tutorial overall.
Here is some summary from my understanding. First, we define the delegate and event in the publisher. Second, we raise the event in the publisher as well. Thirdly, we subscribe the event in the main function, by giving the statement (publisher.eventname+=subscriber.evenhandlername). Lastly, we implement the eventhandler in the subscriber.
Man, it took me about an hour and a half to finish this because of all my rewinding and note taking... but I understand it! Great video!
This is one of the nicest and well-explaining videos regarding programming in C# that I've found on TH-cam. Would even say that it's Pluralsight-level, although it's free to watch. Thank you very much, keep up the good work!
studying c# in school now and could not get this right, you explain this so much better! thank you for the simple explanation.
As a junior game dev i can say this helped me a lot. Thanks for your efforts
Ive been trying to get a clear explanation of how events work for weeks. Best explanation I have found. Thank you.
Perfect......main part of this video is what was the need of events and delegates and you mention it very well that is to make loose connection between two or more entities...no body mentioned this point except how to implement it, and bla bla bla bla ..thanks a lot Mosh...
Best material on Events and Delegates i have watched on here. Very clear and gets to the point!
I was trying to learn this from "C# in a Nutshell" book and that was kind of dry.
This was a superb explanation, absolutely perfect teaching Mosh, thank you!
I don't remember I learned that much information within a 30 minute video with ease. Thanks big man!
This was awesome video. I have watched several other tutorials on this topic, but none of them explained it in a way I could understand for the purpose I had in mind (not a GUI application). Your video seemed to be tailored to the way I think and absorb information. Thank You!
Thanks Mosh, always so good! I did take your React course, I did abandon but it was because I did not see much utility if Blazor is coming... I would like to see you explaining Blazor, we need that!
Hi Mosh, appreciate your tutorial, guess what? I read manual over event/delegate and I couldn't get it, after watching your tutorial everything is crystal clear. So you did a great job, thank you man!
I'm just getting into learning about and using events and this video helped me solve a lot of headache problems and understanding how delegate and events work.
I''m still struggling but this helped me a lot. Thank you Mosh!
Great job. You covered the WHAT, WHY, and HOW. So many instructors fail to address these factors...bravo!
Excellent explanation! I had just a vague idea about how events come into existence and how they work, but I had no problem implementing events into my project and understanding it throughly after the video. The explanation was so clear that there was no need to pause, because everything was put so simply that it seemed that I knew it all along. Thank you.
After one year of programming, got the idea of events and delegates just a few minutes ago. Great teaching Mosh
Viewing it in 2021 really saved me a lot of effort with a lot of things in Unity, thanks a lot!
This is by far the best video that explains Delegates. i understand it much better now. Thanks
Thank you very much Mosh you are great ; I made my first delegate and event with your help I will always pray for you thanks god bless you.
Well recorded video. Voice isn't tiring. I watched all ads without shortcuts (not happens too often) to support the author. Thank You!
It’s 1am in my area, and I think I have to watch this video a few more times to understand everything and get ahead in my advance C# class. Great Video!
Saw one of your videos thumbnail, and thought to myself. No way im gonna go with Derek Banas or Bucky from TheNewBoston... but that was the wrong move. Just as great as the others, and you actually made delegates seem very understandable. Good job.
Superb... I used to be always confused on tie up between event and delagates and how to invoke it. This video gave a very clear picture. Thank you Mosh
All of the other comments already said it, but let me repeat it: this is such a great tutorial/lecture. Thanks for the content!
Your voice is very soothing. It makes me feel comfortable when I"m learning about topics I never quite understood properly.
I am really happy with how you built these lessons. Although he does not have an exceptional knowledge of English I managed to follow and understand everything. In other courses or videos there are people who speak incomprehensible English. Too fast and full of words called with dialectal inflection. Congratulations for this and above all for how matter is explained.
Thank you so much Mosh. This is the best delegate/event tutorial for C# I have seen. I had to watch the video twice but at the end of the second watching I had a strong understanding of these concepts. Thank you!
Dude that was awesome. I read this thing at so many places and still did not get the concept. U nailed it in my head. Million thanks :)
Thank you for the in-depth video. I know this isn't a new video, but it contains a perfect example of a concept that can be difficult for new C# programmers to grasp. Excellent content, well put together.
What i like for this guy, is doing things in super simple way, making complicated situations very easy.
I think it's the clearest example about how to use Events in all Internet! Thanks Mosh! Would be cool see one of this example using Winforms! Im pretty sure u will received even more views!!
This is a beautiful example to understand Event and Delegate (Callback), Thanks Mosh!
Really good explanation of how to use an event. Nicely brought it all together when you replaced the initial delegate definition (at the start) with the EventHandler defiinition at the end. The only thing I would add is that many people might not understand the reason to actually use the keyword "event" in the VideoEncoder class. Removing this keyword will result in this code example to still work HOWEVER this keyword is still necessary. (basically it provides protection to the Event so as not to be abused by other outside objects).
This video is great! I was reading so much on the internet about this, but the examples used, were not explained step by step as you do. Now I finally understood how to use events correctly and also learned a bit about delegates. Thanks!
Another Great Video ! Your tutorials have convinced me to convert my religion from Java to C# .. even in this lecture events and delegates have much nicer syntax than java's inner anonymous classes(what a nightmare)... now im gonna check Lambdas in C# next. thanks & Kudos
Awesome video. I always gets confused when defining and raising events in C#. You have explained it very simply!! great job.