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

What is the difference between renderaction and renderpartial?

718


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

644


What are the Core features of ASP.NET MVC?

684


What is the purpose of a web form?

641


Explain representational state transfer (rest) in detail?

652






what is use of entitydatasource control?

712


How does the 'page lifecycle' of asp.net mvc works?

665


what is deferred loading(lazy loading)?

665


what is entity framework advantage?

700


Which are the important namespaces used in ASP.Net MVC?

689


What is presentation framework?

632


Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).

1905


Possible ways to prevent xss attacks on mvc application?

644


How to update one of my table in database at 4pm every day how it is possible?

642


Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?

635