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 |
In which order the constructor is called for an inherited class?
What is a void c#?
What is static classes?
Write a sample code to write the contents to text file in c#?
what is work of continue statement in C#?
What is Inheritance in C#?
What is method overriding in c#
What is difference between dictionary and hashtable?
Does a loop recorder have to be removed?
What is a string? What are the properties of a string class?
Does c# supports destructors?
How many bytes is an int c#?