What is a C# Delegate and how does it help my code? + Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • In this video you will learn what a delegate is, and how it can help you write better code in C#
    🚀 Master C# and .NET programming EASILY with our best-selling C# Masterclass: bit.ly/47Hk3u7
    The delegate pattern is a powerful one, tackling the problems of spaghetti code and unnecessary complexity with ease. Learn what delegates are and how to use them to write easy-to-read, elegant code in C#.
    Writing code is easy when you use Delegates.
    In the delegate pattern, code is organized into methods that will be executed on behalf of other objects. This means we can easily centralize and maintain our logic without creating a mess by over-nesting different functions within each other. Delegates are an essential tool for writing modular C# applications!
    tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
    This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
    Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x

ความคิดเห็น • 26

  • @tutorialsEU
    @tutorialsEU  3 ปีที่แล้ว

    🚀Master C# and .NET programming EASILY with our best-selling C# Masterclass: bit.ly/47Hk3u7

  • @eltallerdedante6335
    @eltallerdedante6335 2 ปีที่แล้ว +2

    FINALLY, I UNDERSTOOD IT. THANK YOU.

  • @MohamedSamy-xu3pi
    @MohamedSamy-xu3pi 2 ปีที่แล้ว +1

    You're a very good instructor, Thank You

  • @kwstaslalaounis3212
    @kwstaslalaounis3212 2 ปีที่แล้ว +1

    This video is easy to understand delegates is very useful.
    Thank you !!!

  • @shaunhunterit342
    @shaunhunterit342 2 ปีที่แล้ว

    Thanks for the clear explanation

  • @maishacute4491
    @maishacute4491 3 ปีที่แล้ว

    Thx you for helping everyone

  • @techliv753
    @techliv753 3 ปีที่แล้ว +1

    Make a full course on c# shocket

  • @MajorSquiggles
    @MajorSquiggles ปีที่แล้ว

    ok now I just need to learn what a ui library is to understand the example. This rabbit hole doesn't end.

  • @maishacute4491
    @maishacute4491 3 ปีที่แล้ว

    Good content

  • @teluguunderratedgamer4541
    @teluguunderratedgamer4541 3 ปีที่แล้ว

    I need some clarity on it is java is important to learn to be part of android app developer

    • @tutorialsEU
      @tutorialsEU  3 ปีที่แล้ว +1

      If you work on older projects, it might by. Else Kotlin is the right language

    • @teluguunderratedgamer4541
      @teluguunderratedgamer4541 3 ปีที่แล้ว

      @@tutorialsEU I want to get job as a fresher in android app developer but I unable to set my correct path .what to learn and what is necessary and unnecessary that is my problem 😞

    • @teluguunderratedgamer4541
      @teluguunderratedgamer4541 3 ปีที่แล้ว

      @@tutorialsEU tq for suggestion❤️

  • @teluguunderratedgamer4541
    @teluguunderratedgamer4541 3 ปีที่แล้ว

    Hello bro, how to become an android app developer?
    I want to learn Java to become android app developer or else can I go with kotlin or learn both of them

    • @tutorialsEU
      @tutorialsEU  3 ปีที่แล้ว +1

      Hi,
      I would recommend to learn Kotlin if you want to become an Android App Developer. Alternatively Flutter is a great option.

    • @teluguunderratedgamer4541
      @teluguunderratedgamer4541 3 ปีที่แล้ว

      @@tutorialsEU there is no use of learning java to be a android app developer

    • @tutorialsEU
      @tutorialsEU  3 ปีที่แล้ว

      @@teluguunderratedgamer4541 If you work on older projects

  • @lee5150
    @lee5150 ปีที่แล้ว +2

    No matter who the teacher or what the example is, I CANNOT understand delegates. It just does not make sense to me!!

    • @Taril69
      @Taril69 11 หลายเดือนก่อน

      Hey bro, have you understand it yet? cuz I still dont understand it. If you have a good video that makes more sence, send it to me

  • @alisha1142
    @alisha1142 3 ปีที่แล้ว

    How come u knw all the programming languages

  • @teluguunderratedgamer4541
    @teluguunderratedgamer4541 3 ปีที่แล้ว

    Pls reply me 👍

  • @melone2848
    @melone2848 2 ปีที่แล้ว

    Wer mag Pizza ? 🍕