Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


why we are using delegates and in which condition it is
required?

Answers were Sorted based on User's Feedback



why we are using delegates and in which condition it is required?..

Answer / praveenkumarreddy.m

Delegates are used to refer multiple functions.Delegates
used in creating events in c#.net.

Is This Answer Correct ?    11 Yes 1 No

why we are using delegates and in which condition it is required?..

Answer / santosh

delegates are similler to function pointers.. main it is
callback methods.. we can call the methods at time more
than one methods.. delegates are 2 types 1.single cast
delegets 2.multicaste delegates like sysntax:

access modifiers delegate returntype
delegatename("arguments")
{

}
// creating reference for delegates

objectname.delegatename();

Is This Answer Correct ?    1 Yes 0 No

why we are using delegates and in which condition it is required?..

Answer / santosh bind

When the pass method as argument

Ex- public Delegate void AddNum(int a,int b)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Which protocol is used to call web service?

0 Answers  


What are the Application_Start and Session_Start subroutines used for?

5 Answers   Siebel Systems,


Do you know about caching with the datasource controls?

0 Answers  


Tell me the code snippet to show how we can return 404 errors from HttpError?

0 Answers  


Explain why datareader is useful?

0 Answers  


How long does an http session last?

0 Answers  


What tags do you need to add within the asp:datagrid tags to bind columns manually

2 Answers  


How to consume a webservice in a windows application without adding through the web reference?

1 Answers   247Customer,


What is the difference between and ActiveX dll and control?

2 Answers   Microsoft,


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

0 Answers  


What are type/key pairs in client script registration?

0 Answers  


How would you create a permanent cookie?

0 Answers  


Categories