Events in C#.Net made easy! | Using Delegates | Using EventHandler| Passing Custom Data| Codelligent

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • In this video you will learn Events and Event Handling in C#.Net with the help of very simple examples.
    The topics being covered:
    00:00 - Intro
    00:45 - Events using Delegates
    04:39 - Events using EventHandler
    05:35 - Passing Custom Data in Events
    06:51 - DEMO : Using Events in a Small Real-Time Application
    If you found this video helpful don’t forget to hit the Like button!
    If you wish to join us for future learning, do Subscribe this channel and hit the Bell icon to get the future video notifications!
    #Events #EventHandler #DotNet
    -----------------------------------------------------------------------------------------
    We believe in - "Knowledge increases by sharing!!"
    Who are we?
    We are a bunch of IT professionals who love to teach apart from our regular coding work! 👬👫
    Why this Channel?
    In our career, we have noticed that many new programmers get confused while coding, even though they are aware of that concept. We help them understand the concept in our office. 🤗
    So, we thought why not share these concepts in the same easy to understand way to the whole world.
    Let every one who is starting their coding journey get to learn and become a better programmer! 😊
    We have taught many people offline, and now trying to make an online presence to help wider audience. 💖
    Let's Code!
    #LoveForCoding #LoveForTeaching #Codelligent #LetsCode #India
    -----------------------------------------------------------------------------------------
    Intro music credit: www.zapsplat.com
    Intro background image credit: www.freepik.com

Komentáře • 40

  • @walrexx_2370
    @walrexx_2370 Před rokem +1

    this is the best video explain regarding events in c#

    • @CODELLIGENT
      @CODELLIGENT  Před rokem

      Thanks a lot for such kind words! Glad it was helpful. 😇

  • @dhanushkumar831
    @dhanushkumar831 Před 10 měsíci

    Very good demonstration

  • @aparna92
    @aparna92 Před 4 lety +6

    I am so glad I found this video. Thank you sir for the fine explanation!

  • @manuelweichelt528
    @manuelweichelt528 Před rokem

    you should have like X times more followers this is top notch...

    • @CODELLIGENT
      @CODELLIGENT  Před rokem

      Thanks a lot for such kind words! 😇

  • @davideographer4410
    @davideographer4410 Před 2 lety +1

    After having spent endless hours scouring the web without finding any useful explanations, your video finally clarified the concept of delegates/event handlers and helped me solve my problem! Thanks man!!

    • @CODELLIGENT
      @CODELLIGENT  Před 2 lety +1

      Really happy that the video was useful for you. Keep supporting! 😊

  • @st-hs2ve
    @st-hs2ve Před 5 měsíci

    Excellent work on every tutorial. You put the best effort to make things clear. Really watching many tutorials and then yours, no one comes close as you are. I am not saying you are intelligent among all but your hard work is visible. Deeply appreciate you work man. I really ask the community who wants to learn C#, just watch 1 or 2 of his tutorial and you will be amazed. Please prepare tutorial in chronological way going from basic to advanced.

  • @hassan-esabbah4913
    @hassan-esabbah4913 Před 2 lety

    thank you bro you made my day

  • @luka722
    @luka722 Před 2 lety

    SHEESH that 'T' 7:20 like a champagne pop

  • @narinyalcin5398
    @narinyalcin5398 Před 3 lety +1

    Wow It's nice example, finally i start understanding how eventhandler work's.
    Thanks a lot bro!

    • @CODELLIGENT
      @CODELLIGENT  Před 3 lety

      Glad to hear that!
      Thanks a lot for the kind words. 😊

  • @germanduterte7110
    @germanduterte7110 Před rokem

    awesome

  • @gowripriyapalanisamy1853

    Thanks a lot for this video, Helped me!

  • @dfytq
    @dfytq Před 2 lety +1

    I was very confused about events and event handler . You have explained these things in a brilliant way. Thanks a lot.
    Can you explain anlther thing, when an event is invoked, is it possible to listen that or intercept that from a class where you didn't use +=mymethod
    I have seen some systems where events are raised and from a different class, if that class inherita iEventListener or something like that, whenever that event is raised from anywhere in the system, that class gets notified. How did they do this?

  • @gutibokeron
    @gutibokeron Před 2 lety

    Great example of using Events with custom Args!
    It would be amazing if you could put this kind of simple but ilustrative example using winform.
    I'm pretty sure you would have much more views!
    Thanks again!

    • @CODELLIGENT
      @CODELLIGENT  Před 2 lety

      Sure. Thanks a lot for the valuable feedback. 😊

  • @kiPROBRos
    @kiPROBRos Před 2 lety

    Thanks for excelent tutorial.

  • @raymondshamba4825
    @raymondshamba4825 Před 3 lety

    The best explanation on Event..!!keep it up bro

    • @CODELLIGENT
      @CODELLIGENT  Před 3 lety

      Thanks a lot bro.. Do subscribe and share. 😊

  • @praveenkumar.m7949
    @praveenkumar.m7949 Před 2 lety

    Tq very much sir very well clearly explainations and I clarified in this delegates and events concepts

  • @akfsf00543
    @akfsf00543 Před 2 lety

    very good video. I am searching this type of vedio very long time. thank for it.

  • @zohirbensalem7622
    @zohirbensalem7622 Před 2 lety

    Very good Thanks

  • @jthusany
    @jthusany Před 2 lety

    Very good.

  • @juancarlosabad3298
    @juancarlosabad3298 Před 2 lety

    Very good, thx but you mix up Classes with Objects i.e. instances of the Class....it is not that "Classes" are subscribed as Observers but individual "Objects" i.e. instances of the classes ...e.g. you may have two data base objects db1 and db2 and decide to register only one of the instances and not the other one....

    • @CODELLIGENT
      @CODELLIGENT  Před 2 lety +1

      Thanks a lot for the clarification. Hope this will be useful for other viewers. 😊

  • @vandanasingh229
    @vandanasingh229 Před 2 lety

    please share the code file