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
Can a dictionary have duplicate keys c#?
Can a method be sealed in c#?
What are the different types of classes?
Is unboxing an implicit conversion?
What is an int c#?
Explain how do I convert a string to an int in c#?
Are enums static c#?
What is firstordefault c#?
What is a static property. Give an example?
Is php easier than c#?
What is private readonly in c#?
Why is main static in c#?
Why do I get an error (cs1006) when trying to declare a method without specifying a return type?
Explain the difference between .net and c#?
Is c# and c sharp same?