C# EVENTS for Dummies
Вставка
- Опубліковано 11 жов 2019
- 💻 DOWNLOAD THE SOURCE CODE 👉 bit.ly/my-source-ciu 👈
🔔 SUBSCRIBE FOR MORE C# LESSONS 👉 bit.ly/mytestedaspnet 👈
In this video, I explain C# events with an as simple example as possible.
► My Tested ASP.NET Source Code: github.com/ivaylokenov
► My Tested ASP.NET Website: mytestedasp.net
★★ BECOME A BACKER OR SPONSOR ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Patreon: / ivaylokenov
► OpenCollective: opencollective.com/mytestedas...
► PayPal: paypal.me/ivaylokenov
► Buy Me A Coffee: buymeacoff.ee/ivaylokenov
★★ Follow My Tested ASP.NET ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Instagram: / mytestedaspnet
► Twitter: / mytestedaspnet
► Facebook: / mytestedaspnet
► LinkedIn: / mytestedaspnet
★★ Follow Me ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Instagram: / ivaylokenov
► Facebook: / ivaylo.kenov
► LinkedIn: / kenov
★★ Links From The Video ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► C# Delegates for Dummies: • C# DELEGATES for Dummies
► C# Action and Func for Dummies: • C# ACTION and FUNC for... - Наука та технологія
Fantastic! Thank you. I wrote WPF apps for years and didn't know I was using delegates for field changes.
no cat was harmed in the making of this video, nice video btw
Best explanation I've seen so far. So simple! Thank you very much :)
Thank you for your comment!
Agree 100%. subscribed!
Thanks man, i'm a hobby c# programmer. Learned a lot.
Good explanation. Easy to understand
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!
love your work! thank you very much!
Thanks, I haven't seen it done within a setter before
Excellent explanation of events!
Thank you!
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.
Thanks for a tutorial.
What about for unsubscribe from the event? Is it a good idea to unsubscribe for ex. in Dispose() method
crazy, thx man
This one is so good.
I've got a question. What if I wanted to create multiple cats and to each of them add those events args?
What?? Health change???!!! DONT KILL THE CAT!!!!!!!!))
Nice explanation ...
Thank you very much for the nice words!
thx :)
Really , NowI understand how to use the event, CAT IS DEAD😕
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! :)
Voiceover is horrible.