КОМЕНТАРІ •

  • @russellkemmit73
    @russellkemmit73 5 років тому +38

    No BS, I watched this video 5 days ago and used my knowledge to answer an in person interview question today!! Thanks Corey!

    • @IAmTimCorey
      @IAmTimCorey 5 років тому +5

      Awesome! Good luck on landing the job. Glad I could help.

  • @kerotan2444
    @kerotan2444 4 роки тому +26

    This is for me:
    Example: 1:50
    What is a delegate?: 7:52
    Func delegate: 18:19
    Question: 30:55
    Action delegate: 34:00
    In line delegates (on the fly): 38:04
    WinForm UI: 49:22
    WinForm UI with In line delegates: 58:37
    Ignoring Action delegate: 1:00:52
    When using delegates?: 1:02:15

  • @sparrow5813
    @sparrow5813 3 роки тому +12

    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!

  • @CasshernSinz1613
    @CasshernSinz1613 3 роки тому +12

    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.

    • @IAmTimCorey
      @IAmTimCorey 3 роки тому +4

      Glad it was helpful!

    • @roydonk2878
      @roydonk2878 3 роки тому +5

      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.

    • @CasshernSinz1613
      @CasshernSinz1613 3 роки тому +6

      @@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.

  • @darthvader_
    @darthvader_ Рік тому +3

    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

  • @titanicpat1275
    @titanicpat1275 2 роки тому +6

    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.

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому +1

      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.

  • @morradev
    @morradev Рік тому +2

    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.

    • @IAmTimCorey
      @IAmTimCorey Рік тому

      You are welcome.

    • @shitpostinglel
      @shitpostinglel Рік тому

      Wait... you can get hired as a c# dev before knowing delegates?

    • @Sickerror
      @Sickerror Рік тому

      @@shitpostinglel Yes you absolutely can, even at the best companies like Microsoft. Talking about entry level positions of course though

  • @maxlin2905
    @maxlin2905 3 роки тому +1

    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!

    • @IAmTimCorey
      @IAmTimCorey 3 роки тому

      Awesome! I'm glad you are finding them valuable.

  • @brunomatzinger3637
    @brunomatzinger3637 Рік тому +3

    I love the way you explain things. Delegates have been a closed book for me until now. Now I get it.

  • @vartikagupta8816
    @vartikagupta8816 3 роки тому +4

    Finally I have started to understand delegates and their usage. Thanks Tim!!

  • @morgadoapi4431
    @morgadoapi4431 2 роки тому +2

    You are doing great work, one video at a time. Thanks a lot for your videos!

  • @Ravroid
    @Ravroid 3 роки тому +5

    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.

  • @vin2629
    @vin2629 Рік тому +2

    This must be the best video on delegates I came across so far.

  • @stbny4444
    @stbny4444 Рік тому +3

    Best C# teacher hands down anywhere. Thanks Tim!

  • @lazarnikolic8161
    @lazarnikolic8161 3 роки тому +2

    Comparing delegates and interfaces is one of the best explanations I've come across so far.

  • @Magau68
    @Magau68 Рік тому +2

    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.

    • @IAmTimCorey
      @IAmTimCorey Рік тому +2

      Awesome! I'm glad this helped.

  • @jayjayjaythebrand
    @jayjayjaythebrand 6 років тому

    We've waited for this and the wait was more than worth it. I'm bumping up my Patreon donations

  • @rossthemusicandguitarteacher
    @rossthemusicandguitarteacher 3 роки тому +3

    Tim Corey is a national treasure. Prove me wrong.

  • @jojojawjaw
    @jojojawjaw 2 роки тому +1

    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

  • @xianyu6565
    @xianyu6565 4 роки тому +1

    Come back to say Thanks!! I used the knowledge gain here in my actual work today! Very excited!!

    • @IAmTimCorey
      @IAmTimCorey 4 роки тому

      Fantastic! I am glad it was helpful.

  • @ankitkumarroy2236
    @ankitkumarroy2236 Рік тому +1

    Thank you so much for the video Tim.
    Got clearer picture of Delegates, Func, Action and Lamba expression.

  • @gelucreanga
    @gelucreanga 4 роки тому

    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.

    • @IAmTimCorey
      @IAmTimCorey 4 роки тому

      I appreciate the kind words.

  • @DHGameStudios
    @DHGameStudios Рік тому +2

    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.

  • @ayam_jantan_
    @ayam_jantan_ 6 місяців тому +2

    this video is the ULITIMATE GOAT! thanks Tim, you did it again.

    • @IAmTimCorey
      @IAmTimCorey 6 місяців тому

      I am glad it was helpful.

  • @ehsanshirazi2003
    @ehsanshirazi2003 2 роки тому +2

    The last part that winform was connected to the function that uses delegate was the best part. Thank you for your contribution.

  • @miladabdi3191
    @miladabdi3191 Рік тому +3

    Thank you TIm, for these awesome videos. I can learn anything in C# with these videos.

  • @AmandeepSingh-xk4yv
    @AmandeepSingh-xk4yv 3 роки тому

    Extremely well laid out and comprehensive! Thank you!

  •  6 років тому +1

    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!

  • @faizalvasaya2998
    @faizalvasaya2998 4 роки тому +4

    - 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. :)

  • @chriswych.2656
    @chriswych.2656 3 роки тому +1

    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!

  • @brightndiweni1657
    @brightndiweni1657 6 років тому

    I am enjoying even the comments, great discussions here awesome environment. Cnt wait for the next one!!!!

  • @xFieRZex
    @xFieRZex 2 роки тому +1

    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!

  • @asyncawake9011
    @asyncawake9011 6 років тому +1

    This was high on my wishlist, can't wait to watch!

  • @thovarisk8699
    @thovarisk8699 5 місяців тому +1

    man this is such a great tutorial!! very complex topic but made simple by Tim, thank you so much.

  • @vitorpaulinogoncalves936
    @vitorpaulinogoncalves936 5 місяців тому

    Man, you make difficult things so understandable! You're awesome!

  • @bubblesgrappling736
    @bubblesgrappling736 4 роки тому +1

    once again, tim corey had the best video on the topic

  • @Defiler151
    @Defiler151 2 роки тому +2

    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++

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому +2

      I am glad it was so helpful.

  • @JackNotJack
    @JackNotJack Рік тому +2

    Another great tutorial. I'm still a little nervous around delegates and anonymous methods, but going through this tutorial helped so much. Thanks Tim.

  • @jaroslawkrolikowski1293
    @jaroslawkrolikowski1293 2 роки тому +2

    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

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому

      You are welcome. I'm glad my content has been so helpful. Thanks for sharing.

  • @keshavjha2566
    @keshavjha2566 4 роки тому +1

    Thanks a lot Tim. You are really making learning c# simpler. Thanks.

  • @cisip
    @cisip 2 роки тому

    As always, very helpful and well-structured content. Big thanks!

  • @HasnainRaza-dp5bw
    @HasnainRaza-dp5bw 3 роки тому +1

    Thank you for this tutorial. Like your other content, it is comprehensive with theory and practical examples.

    • @IAmTimCorey
      @IAmTimCorey 3 роки тому

      You are most welcome. Thanks for watching.

  • @12spiedey
    @12spiedey 5 років тому +1

    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

    • @IAmTimCorey
      @IAmTimCorey 5 років тому

      I appreciate the kind words.

  • @sheepay99
    @sheepay99 2 роки тому

    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.

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому

      Awesome! I am glad it was so helpful.

  • @delhitepawan5804
    @delhitepawan5804 3 роки тому +2

    Excellent Tim...keep the good work going.

  • @pavolbutora
    @pavolbutora 3 роки тому

    Again, excellent and simply explained. Thank you.

  • @cod4Rlp
    @cod4Rlp 4 роки тому +3

    man you are wholesome, asking is people are financially able

    • @IAmTimCorey
      @IAmTimCorey 4 роки тому +2

      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.

  • @maddy3274
    @maddy3274 3 роки тому +1

    Thanks Tim. Excellent demonstration. Events and Delegates are no more a grey area to me.

  • @goodmanshawnhuang
    @goodmanshawnhuang 2 роки тому

    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. :)

  • @luizyoung226
    @luizyoung226 2 роки тому +2

    Great lesson Tim, thank you.

  • @vladandreiteodorescu7611
    @vladandreiteodorescu7611 3 роки тому

    Wonderful and simple. Love your work!

  • @shayak9048
    @shayak9048 4 роки тому

    That's an excellent way of teaching. It's much easier to understand like this instead of reading the concept in book. :)

    • @IAmTimCorey
      @IAmTimCorey 4 роки тому +1

      I am glad you are finding it enjoyable.

  • @ShyamSundar055
    @ShyamSundar055 3 роки тому

    Its really "in a nutshell" about delegates. Great stuff 👍

  • @lyndondoliveiro5941
    @lyndondoliveiro5941 4 роки тому +1

    Excellent explanation. Just subscribed to your Patreon site

  • @marceloleoncaceres6826
    @marceloleoncaceres6826 9 місяців тому

    Thank you for sharing your time and knowledge, you are doing a great job, God bless you!

  • @Phantom-pj1ls
    @Phantom-pj1ls 3 роки тому

    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!

  • @frankcastle5007
    @frankcastle5007 3 роки тому

    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#.

  • @harag9
    @harag9 6 років тому

    Great video, nice and clear! Looking forward to the Async video / threading video.

  • @raphaelpinel2614
    @raphaelpinel2614 4 роки тому +4

    Thank you! Great tutorial. Clear explanations :-)

  • @ddishuman
    @ddishuman 5 років тому

    thanks so much, Tim.
    Majestic!

  • @pete9049
    @pete9049 4 роки тому

    I remember your video about the concept of interface so much that I could relate it with delegates.

  • @shezadahmed817
    @shezadahmed817 3 роки тому +1

    I had to watch it twice to get it. Then was able to implement for a dev for a client. Thanks so much

    • @IAmTimCorey
      @IAmTimCorey 3 роки тому

      Excellent! Way to stick with it.

    • @jiggzzz
      @jiggzzz 3 роки тому

      Sir can you please demo me the code with real world example?

  • @TheNorthRemember
    @TheNorthRemember Рік тому +2

    i had the OHH YEAH moment when you create the subtotalalert method, thanks for this vid

  • @jakubczechowski1159
    @jakubczechowski1159 3 роки тому

    Thank you for this very tutorial and other tutorials!! They give me a lot of insight into c#

  • @mtsacchi
    @mtsacchi 3 роки тому

    Great video, Tim!
    Already subscribed to you blog. I'll take a deeper look into the courses you sell.
    Thanks a lot!

    • @IAmTimCorey
      @IAmTimCorey 3 роки тому

      You are most welcome. Thanks for watching.

  • @dke4772
    @dke4772 3 роки тому +1

    Very good explanation this really helped me to make my application more flexible.

  • @dcernach
    @dcernach 3 роки тому +2

    Perfect! Totally the WOW tutorial about Delegates/Funcs/Actions... Please, make an Expression Tree tutorial following this one... 🙏🏻

    • @IAmTimCorey
      @IAmTimCorey 3 роки тому

      I will add it to the list. Thanks for the suggestion.

  • @fahadaslamtanoli
    @fahadaslamtanoli 2 роки тому +1

    very good tutorial love way of teaching why we need and when we should use

  • @raghuZanne
    @raghuZanne 5 років тому

    Thank U very much! Awesome example and explanation.

  • @jaynardrazon9994
    @jaynardrazon9994 4 роки тому +1

    thanks Master Tim! God Bless!

  • @alfullard8887
    @alfullard8887 2 роки тому

    Very helpful and comprehensive. Thanks

  • @SergeiFedorov77
    @SergeiFedorov77 2 роки тому +2

    This is great stuff, I wish I would've seen this a few years earlier but better late then never!!

  • @Old.Man.Of.The.Mountain
    @Old.Man.Of.The.Mountain 4 роки тому

    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.

    • @IAmTimCorey
      @IAmTimCorey 4 роки тому

      Yeah, delegates are really close to events (events are a type of delegate).

  • @misterdecaro
    @misterdecaro 5 років тому

    This has been so helpful! Thank you!

  • @jansmrcka
    @jansmrcka 6 років тому +1

    Well done. You explanation is clear like a diamont :-)

  • @tommyj0059
    @tommyj0059 3 роки тому

    Simply brilliant courses.

  • @brunokucevic4288
    @brunokucevic4288 6 років тому +3

    Hell yes!! Cant wait to watch it later today. Hope it has func and action covered

    •  6 років тому +1

      yup, he covers that topics too

    • @brunokucevic4288
      @brunokucevic4288 6 років тому +1

      Excellent. As long as he sticks to his elaboration techniques i will be more than satisfied.

    • @IAmTimCorey
      @IAmTimCorey 6 років тому +2

      Let me know what you thought of it.

    • @brunokucevic4288
      @brunokucevic4288 6 років тому

      Its awesome. Still a bit of abstract but awesome. Ill watch it till i understand it.

    • @brunokucevic4288
      @brunokucevic4288 6 років тому

      Next up dictionaries? Right? Hehehe.

  • @stuartmurton7319
    @stuartmurton7319 4 роки тому

    Good vid, clear and easy to understand, thank you

  • @sanwalchaudhry2099
    @sanwalchaudhry2099 5 років тому +1

    awesome explanation... I will recommend this video to every beginner programmer.

    • @IAmTimCorey
      @IAmTimCorey 5 років тому

      I am glad you enjoyed it.

  • @Jose67898
    @Jose67898 2 роки тому +1

    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.

  • @pablocaiza.
    @pablocaiza. 3 роки тому

    thank you for all your hard work on this

  • @gilhooli6685
    @gilhooli6685 6 років тому +1

    Hi Tim. I hope you feel better soon. I miss your lessons and wish you a good health.

    • @IAmTimCorey
      @IAmTimCorey 6 років тому +4

      I'm finally getting better. New videos are coming soon.

  • @RedBirdOBX
    @RedBirdOBX 3 роки тому

    Thank you for this video. Took 2 viewings before it sunk in...but persistence pays off.

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 роки тому

      Thanks for hanging there. Rarely can we pick up all of it in one pass, because there is just too much great info.

  • @tonyynot484
    @tonyynot484 3 роки тому +2

    Subscribed. Very well explained.

  • @guitarsk8r11
    @guitarsk8r11 3 роки тому

    Was fuzzy on some of the details, this cleared everything up. Thanks.

  • @nathansmalley8433
    @nathansmalley8433 2 роки тому

    Figured out it is just a function pointer within the first 10 minutes. Thanks.

  • @kellybmackenzie
    @kellybmackenzie Рік тому +3

    Your channel is awesome, this helped me so much!! Thank you so much!!

  • @densely123
    @densely123 3 роки тому

    I really like doing something with c#.
    You are So cool.
    Thanks you.

  • @ethanvenencia5653
    @ethanvenencia5653 3 роки тому

    Amazing content, nice work!

  • @cristiannass3945
    @cristiannass3945 3 роки тому +1

    Thank you, Corey

  • @osmartakashi
    @osmartakashi 4 роки тому +2

    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.

    • @IAmTimCorey
      @IAmTimCorey 4 роки тому

      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.

    • @osmartakashi
      @osmartakashi 4 роки тому

      @@IAmTimCorey Sure, you are right. Tks.

  • @tymofiisemeniuk1418
    @tymofiisemeniuk1418 4 роки тому

    Thank you for your knowledge. Absolutely not simple....

  • @furiousmatthew2287
    @furiousmatthew2287 Рік тому +3

    you're a genius men, seriously! :) I subscribe instantly

  • @far-red
    @far-red 4 роки тому

    i'm just at 17:22, and i totally GET delegates and how useful it is for call back. Good stuff! :)
    46:12 - awesome-ness delegate and anonymous methods in full glory

  • @rascovicibogdan4673
    @rascovicibogdan4673 5 років тому

    great explanation ! keep up the good work :D

  • @nimamirzaalikhan
    @nimamirzaalikhan 3 роки тому

    Best Teacher Out There 🙏🏻

  • @emokatusha
    @emokatusha 4 роки тому +3

    Good videos. I am learning English watching you videos. Thanks.

    • @IAmTimCorey
      @IAmTimCorey 4 роки тому +1

      Thanks!

    • @perceptron4958
      @perceptron4958 4 роки тому +2

      Значит я такой не один. =) Тим выдает чистую амброзию для ушей.

  • @gotitgoodgetit
    @gotitgoodgetit Рік тому +1

    Awesome Demo, Thanks

  • @kamatwins8709
    @kamatwins8709 6 місяців тому

    Very cool video, thank you very much for your effort!

  • @Joel-qs7no
    @Joel-qs7no Рік тому

    You are the best. Thank you!