what are delegates? How you used then in your project?
Answer Posted / kiran kumar reddy
A delegate can be defined as a type safe function pointer.
It encapsulates the memory address of a function in your
code. Whenever you create or use an event in code, you are
using a delegate. When the event is thrown, the framework
examines the delegate behind the event and then calls the
function that the delegate points to. delegates can be
combined to form groups of functions that can be called
together.
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is boxing? Explain its functionality?
What is part of a method signature in c#?
What is difference between constants and read-only?
Can a class have multiple constructors c#?
What is the do while loop code?
Explain concurrency with aop?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
What is difference between private, protected, and public in C#?
How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?
What is wcf c#?
What is default value of bool in c#?
Is arraylist thread safe?
What is serialization in unity?
how dot net compiled code will become platform independent?
What is delegation in oops?