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 advantage of generics in c#?
What is the difference between static and private constructor in c#?
When should you use generics?
What are c# i/o classes? What are the commonly used i/o classes?
Why do we use dataset in c#?
What is managed code?
Explain partial class in c#?
Explain About ADO and its objects
What is boxing & unboxing?
Can fields inside a class be virtual?
What are data types with examples?
Can hashtable have duplicate keys in c#?
What is the use of tryparse in c#?
In object oriented programming, how would you describe encapsulation in c#?
what is IDisposal interface