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
Why do we need delegates in c#?
Can you drink alcohol with a loop recorder?
Can you inherit from a static class in c#?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
Are structs faster than classes?
what is inheritance and an example in vb.net and c# of when you might use it?
What are the different approaches of passing parameters to a method?
What is a virtual property. Give an example?
What are methods c#?
Why do we use namespace in c#?
What is func c#?
Why is xml called extensible?
What is an object pool in .net?
Why we use oops in c#?
Give 2 scenarios where static constructors can be used?