What is a delegate in .NET?

Answer Posted / izetamtechnologies

A delegate is a .NET object which defines a method signature and it can pass a function as a parameter. Delegate always points to a method that matches its specific signature. Users can encapsulate the reference of a method in a delegate object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?

532


Can you create instance of a class which has private constructor?

591


What is data type and how many types of data types are in .NET ?

555


What is the transport protocol you use to call a seb service soap?

533


What is machine.config in .net?

568






What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

511


Can I write my own .net host?

614


How do you view the methods and members of a dll?

619


Explain when should you use .net web forms over asp.net mvc?

510


Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?

508


What is close method? How its different from finalize and dispose?

525


Explain re-clarification of object based in .net?

576


What is strong-typing versus weak-typing? Which is preferred?

549


What is the difference between response.redirect & server.transfer?

544


How to debug failed assembly binds?

604