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 |
Why ienumerable is used in c#?
Can derived classes have greater accessibility than their base types?
What are the access-specifiers available in c#?
What is difference between ienumerable and enumerable in c#?
What does dbml mean?
What is sqlcommandbuilder c#?
What is difference between string and stringbuffer in c#?
If we write a goto or a return statement in try and catch block will the finally block execute?
What are callback methods in c#?
What is console readkey in vb net?
How to use the sreamReader class to read form a text file?
Why do we need collections in c#?