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

Which version of the common language runtime (clr) does the .net framework 3.0 use?

559


How to make sure Client Validation is enabled in ASP.Net MVC

558


What is meant by domain model?

538


which are the key concepts of entity data model?

605


Explain the difference between viewbag and viewdata in mvc?

537






What is .net framework used for?

580


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

592


Explain the request flow in asp.net mvc framework?

545


What are bundling & minification features in asp.net mvc 4?

531


What are the main components of .net framework?

542


What is Separation of Concerns in ASP.NET ASP.Net MVC?

597


what is entity framework advantage?

623


Mention what is the difference between “ActionResult” and “ViewResult” ?

575


Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?

563


What symbol would you use to denote, the start of a code block in razor views?

564