what are delegates? How you used then in your project?

Answer Posted / mandeep

Delegate is an object that can refer to a method.

When we are creating delegates, we are creating an object that can hold a reference to a method; it necessarily means that a delegate can invoke the method to which it refers. ..

A very good easy to understand article related with this is here http://www.dotnetfunda.com/articles/article1670-what-are-delegates-in-csharp.aspx (plain and simple)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is managed or unmanaged code?

857


Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?

745


How Is The Dll Hell Problem Solved In .net?

789


Explain different properties of object oriented systems.

723


Any problem found in vs.et

778


How can it prevents DLL Hell assembly versioning in .NET?

766


What is Implicit conversion in C#?

802


What is difference between abstraction and encapsulation in c#?

760


What is xor operation?

715


Describe an abstract class?

753


Explain how to use an extender provider in the project.

715


Is int a class in c#?

731


What are actions in c#?

650


Is vs as c#?

703


What is cookies in c# asp net?

691