What?s a delegate?
Answers were Sorted based on User's Feedback
Answer / guest
A delegate object encapsulates a reference to a method. In
C++ they were referred to as function pointers.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / maqsud
The delegate keyword is used to declare a reference type
that can be used to encapsulate a named or an anonymous
method. Delegates are similar to function pointers in C++;
however, delegates are type-safe and secure.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kamlesh sharma
Delegates are like pointer to functions in c and c++
Delegates are used to encapsulate functions into callable
function object (delegates are type sage in c#)
Is This Answer Correct ? | 2 Yes | 0 No |
What is Signature and parameter in overloading ?
What is ispostback c#?
When was c# created?
Major difference between Basic httpbinding and WShttpbinding?
What all details the assembly manifest will contain?
What is the difference between iqueryable and ienumerable?
Are arrays value types or reference types?
Which is more efficient for loop or while loop?
What is use of abstract class in c#?
Is .net and c# the same?
What is Named parameter in C#?
can we declare a variable by name "this" in a class? Please explain?