what is a delegate? what it is used for?
Answer Posted / d.monisha caroline
Delegate is a reference type variable which holds reference
to a method,,,delegates are primarily used in c# programming
for implementing events and callbacks
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What namespace is list in c#?
How to use nullable types in .net?
Who introduced c#?
Explain About DTS package
What language do desktop applications use?
What is dynamic dispatch?
What are the 2 types of data types available in c#?
write a C# Program add two matrix ?
Why static constructor is parameterless in c#?
Define Final Class in C#
What are the two uses of a ‘using’ statement in c#?
We cannot create instances of static classes. Can we have constructors for static classes?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
If I return out of a try/finally in c#, does the code in the finally-clause run?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates