In which circumstances you used delegates?

Answers were Sorted based on User's Feedback



In which circumstances you used delegates?..

Answer / harika

Mostly we r going to use Delegates in the "Threading"
concept and in "Event Handling"

Is This Answer Correct ?    4 Yes 1 No

In which circumstances you used delegates?..

Answer / 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

In which circumstances you used delegates?..

Answer / versha

Delegate is used when we want to give reference to any
function

Is This Answer Correct ?    2 Yes 1 No

In which circumstances you used delegates?..

Answer / anirudh menon

A delegate is used when you want to dynamically change the
refrence of a method in a class during run-time.

Is This Answer Correct ?    1 Yes 0 No

In which circumstances you used delegates?..

Answer / riju

Delegates are mostly used when events comes in picture.If
you want to encapsulate /hide your methords then you can
use delgates...Its just like function pointers

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Is any files are generated,when we are adding the web reference to the web service?

2 Answers  


What are the 2 ways of adding constraints to a route?

0 Answers  


Explain peek method in tempdata in asp.net mvc?

0 Answers  


Where is tempdata stored?

0 Answers  


what happened when type url in address bar and press enter?

5 Answers   IBM, Wipro,






what is entityclient?

0 Answers   Microsoft,


What are child actions in ASP.Net MVC?

0 Answers  


Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?

1 Answers  


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

0 Answers  


How to bind table colum with gridview column?

0 Answers  


Is it possible to create a custom filter?

0 Answers  


What are non action methods in mvc?

0 Answers  


Categories