Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 8
    A Delegate is an object that knows how to call a method. {Definition from C# In a Nutshell} Commented Jun 11, 2014 at 6:09
  • 1
    No it is not. That's just message forwarding. It isn't delegation. This is why there is so much confusion over delegation and events in C# - because there IS NO DELEGATION in C#. saturnflyer.com/blog/jim/2012/07/06/… Commented Nov 7, 2014 at 18:13
  • 1
    From the tutorial: An event in C# is a way for a class to provide notifications ... (for example, click a button). Events are declared using delegates. Me: Therefore, you need Delegates to implement a listener in C#. That's it. MS has forced everyone into using Delegates for that. Commented Aug 19, 2016 at 20:05
  • Take a look at this article codeproject.com/Articles/85296/… Commented Oct 3, 2018 at 4:43
  • It's more like delegate in C# = function template in C++... Commented Jan 31, 2020 at 16:56