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
What does convert toint32 mean?
Do extension methods have to be static?
What is dataview c#?
What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default
Which programming language is best for desktop applications?
What are the principles of delegation?
Why do we need events in c#?
Why interface is required?
What is COM Interoperability?
What are the steps for creating clr trigger
Why to use lock statement in c#?
What is the compiler of c#?
What is readline c#?
How do you encapsulate in c#?
Why do we use struct in c#?