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 difference between dll and exe in c#?
What are classes in c#?
Explain code compilation in c#.
What is a destructor in c#?
What is the use of main method in c#?
When should I use static in C#?
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
What is c# commonly used for?
How do I do implement a trace?
What do you mean by jagged arrays in c#?
What is the C# syntax to catch any possible exception?
What is static void main in c#?
What is polymorphism in c sharp?
How to use nullable types in .net?
What is the difference between continue and break statement?