what is a delegate? what it is used for?
Answer Posted / ranjith
Delegate is nothing but a Function pointer,which stores the
address of a method.
These of two types
1)simple delegate:which stores the address of the method.
2)multi cast delegate: which stored the address of multiple
methods.
Generally Delegates are used for EVENT HANDLING and GENERIC
ROUTINES
| Is This Answer Correct ? | 22 Yes | 3 No |
Post New Answer View All Answers
List the differences between method overriding and method overloading?
What does assert() do in c#?
Is double a decimal?
How do switch statements work?
What is namespace give the example?
What is Garbage Collection in .Net?
What is the difference between User controls and Custom Controls?
What is difference between new and override in c#?
What is the difference between an implicit conversion and an explicit conversion?
How do you create empty strings in c#?
When Should You Call The Garbage Collector In .net?
What is lazy t?
Why is xml called extensible?
What is ado c#?
Can we inherit a class with private constructor in c#?