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
Explain deadlock?
How long can loop recorders stay in?
Can you declare struct members as protected?
What is escape sequence in c#?
What is the difference between interface and abstract class in c#?
How to reverse each word in a string using c#?
Difference between directcast and ctype.
What is difference between gridview and form view?
What is a verbatim string literal and why do we use it?
What are the uses of namespaces?
What is difference between interface and abstraction?
What does void do in c#?
What are some of the commonly used commands in sqlcommand?
What is the solution if you need to manipulate sets of items?
What is static void main in c#?