Thank you so much for the tutorial video! As a beginner, may I know the reason to always adding the "this." keyword? What is the purpose of adding it? Many thanks!
"this" refers to the current instance of the class. For example, consider a game where you have 20 cats on screen, and all have different values for their Name property. Assume the Cat class contains the code "if (this.health
Best explanation I've seen so far. So simple! Thank you very much :)
Thank you for your comment!
Agree 100%. subscribed!
no cat was harmed in the making of this video, nice video btw
Fantastic! Thank you. I wrote WPF apps for years and didn't know I was using delegates for field changes.
Thanks man, i'm a hobby c# programmer. Learned a lot.
Many Tnx. Could you please explain why did you use "Cat.Health" instead of just "health" - we`v already had as the second parameter?
Line 25 at 10:19
thanks man very good explanation for dummies like me lol , keep teaching
Thank you very much for the nice words, man!
Good explanation. Easy to understand
Thanks, I haven't seen it done within a setter before
Excellent explanation of events!
love your work! thank you very much!
I've got a question. What if I wanted to create multiple cats and to each of them add those events args?
What about for unsubscribe from the event? Is it a good idea to unsubscribe for ex. in Dispose() method
Hi @ivaylokenov can you do a video on how I can dynamically subscribe to events using expression trees? The event name is passed thru as string.
Nice explanation ...
Thank you very much for the nice words!
crazy, thx man
This one is so good.
Thanks for a tutorial.
Thank you!
What?? Health change???!!! DONT KILL THE CAT!!!!!!!!))
Thank you so much for the tutorial video! As a beginner, may I know the reason to always adding the "this." keyword? What is the purpose of adding it? Many thanks!
"this" refers to the current instance of the class. For example, consider a game where you have 20 cats on screen, and all have different values for their Name property. Assume the Cat class contains the code "if (this.health
@@sandsalamand3763 Thank you so so much for explaining "this", I got it now! :)
thx :)
Really , NowI understand how to use the event, CAT IS DEAD😕
Voiceover is horrible.