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 are the types of attributes in c#?
What is console based application?
How do we achieve encapsulation in c#?
What's the difference between class and object?
What are the types in c#?
What is a nullreferenceexception and how do I fix it?
What are the return types in c#?
What are nested classes in c#?
What is the best method to fill the GridView. using SqlDataReader or Dataset and why
How can you clean up objects holding resources from within the code?
Error handling and how this is done ?
What is difference between dictionary and hashtable?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)