what is a delegate? what it is used for?
Answer Posted / divya
Delegates are similar to function pointers in C C++,
Delegate objects hold references to functions.
Delgates are mainly used in event handling
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is ControlBox Propertie
What is verbatim string?
What is parallel programming in c#?
What floating point types is supported in C#?
What is a private method in c#?
What is the purpose of a console table?
What are properties in c#. Explain with an example?
What is thread pooling?
What is callback method in c#?
Is int a class in c#?
What are object pooling and connection pooling and difference between them?
Explain the mechanism of VB.NET/C# achieve polymorphism?
Write a sample code to write the contents to text file in c#?
What is the difference between dictionary and hashtable in c#?
What is .net console?