In which circumstances you used delegates?

Answer Posted / renu

A delegate in C# is similar to a function pointer in C or
C++. Using a delegate allows the programmer to encapsulate
a reference to a method inside a delegate object. The
delegate object can then be passed to code which can call
the referenced method, without having to know at compile
time which method will be invoked.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I add asp.net mvc testcases in visual studio express?

599


Explain the advantage of packaging over xcopy in .net?

544


What is entity framework? : Entity framework

564


What is latest version of .net framework?

671


What are differences between entity framework and l2s? : Entity framework

649






What is route config?

558


Can I add mvc testcases in visual studio express?

594


Can I uninstall microsoft .net framework?

551


What is the difference between model view and controller?

483


How can we determine action invoked from HTTP GET or HTTP POST?

566


How we can multiple submit buttons in ASP.Net MVC

633


mention in what all scenarios entity framework can be applicable?

974


How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?

564


i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?

1812


What is difference between viewbag and viewdata and tempdata?

533