C# Events | Events in C# with example | C# interview question

Поделиться
HTML-код
  • Опубликовано: 12 май 2024
  • C# events are explained in great detail in this video. Event are one of the most important interview question. Hope this video tutorial in C# events will help you clear all your concept.
    Please subscribe to the channel by clicking this link - / @raigenics
    Check out my Design Pattern Playlist for other patterns -
    • Design Pattern
    For C# interview question, please see the link below -
    • C# Interview Question
    Agile
    ----------------------------------------------
    Roles and responsibilities of agile architect : • Software Architect Rol...
    3 fundamental benefit of Scrum : • Scrum Vs Waterfall: ...
    An agile way of thinking software testing : • An agile way of thinki...
    Exploratory Testing: An approach to agile testing: • Exploratory Testing | ...
  • НаукаНаука

Комментарии • 35

  • @ajesh1984
    @ajesh1984 7 месяцев назад +2

    Very understanding one, thanks for posting this.

  • @sassyjas1313
    @sassyjas1313 2 года назад +5

    I really appreciate you putting up this video, I have been looking for a simple and yet powerful explanation. This is where my search ended. 👍

    • @RaiGenics
      @RaiGenics  2 года назад +1

      Glad that you liked it!

  • @higherpurpose1212
    @higherpurpose1212 3 месяца назад +1

    Very good tutorial and example. I like how you broke each code into smaller pieces and added them line per line and explained, it made it easier to understand. This is the best, clearest delegate/event tutorial I found on youtube after watching a dozen of them, plus you also discussed the built-in Eventhandler delegate. You reminded me of Kudvenkat here in YT. Keep up the good work! I've subscribed!

  • @hotmail4usa
    @hotmail4usa 3 месяца назад +1

    Best event tutorial ever, thank you

  • @sabamaria935
    @sabamaria935 3 года назад +3

    best video I have come across about events

    • @RaiGenics
      @RaiGenics  3 года назад

      Thanks for sharing the feedback :-)

  • @balachander007
    @balachander007 2 года назад +1

    All the videos are wonderful..Very simple and easy to understand thanks a lot for those videos

  • @midhunp7718
    @midhunp7718 Год назад +2

    Best ever explanation

    • @RaiGenics
      @RaiGenics  Год назад

      Thanks for droping in the feedback☺

  • @mahnazbp1204
    @mahnazbp1204 Год назад +2

    very well explained. Thank you very much 💯

    • @RaiGenics
      @RaiGenics  Год назад

      Thanks for the feedback!

  • @Mabh838
    @Mabh838 3 года назад +3

    Best and simple video

    • @RaiGenics
      @RaiGenics  3 года назад

      Thanks for sharing the feedback :-)

  • @amanagrawal7699
    @amanagrawal7699 2 года назад +2

    very well explained- keep up the good work buddy -it helps me a lot in understanding the concept

    • @RaiGenics
      @RaiGenics  Год назад

      Thanks for sharing the feedback!

  • @Ak-zm3ce
    @Ak-zm3ce 18 дней назад +1

    great

  • @ganeshkumar-zz5hp
    @ganeshkumar-zz5hp 3 года назад +3

    Nice video bro.. very simple example to make understand events everyone

    • @RaiGenics
      @RaiGenics  3 года назад

      Glad that you like it!

  • @Amitkumar-tj7ep
    @Amitkumar-tj7ep 3 года назад +1

    Sir,
    I would request to you please upload same kind of video.
    Best video yet to learn exactly, where to use event & delegate.

    • @RaiGenics
      @RaiGenics  3 года назад

      sure, I hope at least the content of the video is clear.
      I hope you have gone through these videos on delegate:
      ruclips.net/video/4yo6HwpGafk/видео.html
      ruclips.net/video/ctoMRZnJ0DY/видео.html

  • @ArjunSingh-hs4ti
    @ArjunSingh-hs4ti 2 года назад +2

    Very nice.

  • @subhashmishra2326
    @subhashmishra2326 2 года назад +2

    awesome!! nicely explained. Thank you so much.

    • @RaiGenics
      @RaiGenics  Год назад

      Glad that it helped you!

  • @ramugade3115
    @ramugade3115 3 года назад +3

    Best Video sir

  • @pushpab8603
    @pushpab8603 3 года назад +1

    Very nice vedio sir ,thank you so much.

    • @RaiGenics
      @RaiGenics  3 года назад

      Thanks for sharing the feedback 🙂

  • @_becool_3002
    @_becool_3002 2 года назад

    Hi,
    @15:58 after changing the name of delegate as EventHandler, dont we need to change the same in Finance.cs?
    Public void EmployeeSeparatedEventHandler()
    to
    public void EventHandler ()
    ???

    • @RaiGenics
      @RaiGenics  2 года назад

      Please understand, you are not changing the name of the delegate, EventHandler it self is a delegate given by the .net framework.
      And "Public void EmployeeSeparatedEventHandler()" is a event handler method which you will be attaching to the delegate.
      Something like this
      employeeSeparator.EmployeeSeparated += EmployeeSeparatedEventHandler;
      Now whenever you invoke EmployeeSeparated event, EmployeeSeparatedEventHandler event handler will fire.
      Hope I understood your question.

  • @nielsSavantKing
    @nielsSavantKing 2 года назад

    Very nice and clear! But it is better to make the method EmployeeSeperatedEventHandler private

    • @RaiGenics
      @RaiGenics  2 года назад

      Thanks for sharing the feedback!

  • @satishchandragiri4217
    @satishchandragiri4217 2 года назад

    Nice Video. where can i access this code?

    • @RaiGenics
      @RaiGenics  2 года назад

      Unfortunately, I did not maintained these code. But I think you can just follow along