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 is array class in c#?
write a c# program add two matrix with input number ?
What is the difference between ienumerable and enumerable?
What is a bool in c#?
What is a interface in c#?
Why singleton class is sealed in c#?
Is char * null terminated?
the c# keyword .int. Maps to which .net type?
What is a multicast c# delegate?
What is the use of readkey in c#?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What is exe in c#?
What is data type c#?
How does inheritance work in c#?
What is generic delegates in c#?