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 the difference between func and action delegate?
Does c# support a variable number of arguments?
What is strongly typed in c#?
Can a abstract class have a constructor?
What is the default scope of a class in c#?
What is static and use of it?
How do you sort an array in c#?
What does char mean in c#?
What is writeline in c#?
Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?
what is difference between is and as operators in c#?
What is thread pooling?
What are the steps for creating clr trigger
Does c# support try-catch-finally blocks?
Is datetime nullable c#?