In which circumstances you used delegates?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?

488


Is razor a server side?

528


I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.

2171


In Server how to check whether model has error or not in ASP.Net MVC

627


What is NonActionAttribute ?

593






What is the use of view model in asp.net mvc?

685


How do you specify comments using razor syntax?

604


What is entitytypes? : Entity framework

615


What is the use .glimpse in mvc?

599


What is oauth in web api?

526


What is edm (entity data model)? : Entity framework

551


What is the greatest advantage of using asp.net mvc over asp.net webforms?

561


Explain Keep method in Tempdata in ASP.Net MVC?

568


What are the new features 3.5 framework against with the tool?

546


What is the .net framework 3.0 (formerly winfx)?

554