What?s a delegate?
Answers were Sorted based on User's Feedback
Answer / daniel
A delegate object encapsulates a reference to a method. In
C++ they were referred to as function pointers.
Is This Answer Correct ? | 13 Yes | 2 No |
Answer / uma
Delegate is the reference for number of functions having
same signature (Return type and Number of parameters for
the methods should be same )
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / monu sharma
Delegate is the reference for number of functions having
same signature (Return type and Number of parameters for
the methods should be same ).Delegate is the collection of
functions and pointers that hold in delegate.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / anuj
Delegate is a class having no body, whose object can store
the reference of method of some another class...
example :
public delegate void del();
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sudhakar
deligate is an object,where reffered to as an function address.
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / reva ram sahu
It’s a delegate that points to and eventually fires off
several methods.
Is This Answer Correct ? | 1 Yes | 5 No |
How to transpose multi-dimensional array?
What are the access modifiers in c#?
can we throw execption from catchblock
How do I run a cshtml file?
Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?
How do destructors and garbage collection work in c#?
What is parsing?
Why do we use dictionary in c#?
Why static constructor is parameterless in c#?
Define interface class in c#?
Why cannot you specify the accessibility modifier for methods inside the interface?
How do you create partial methods?