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

What is session id in web application?

0 Answers  


Explain server control extensibility with reference to asp.net 2.0 ?

0 Answers  


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

2 Answers   Marlabs,


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

0 Answers  


What is the difference between executescalar and executenonquery?

0 Answers  


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

0 Answers  


What is an application domain?

2 Answers   Microsoft,


What is the Difference between MVC And MVP design pattrens

0 Answers   Symphony,


What parameters can you pass in the url of the api? Can get and post use the same url?

0 Answers  


Difference between .NET and previous version?

0 Answers   Microsoft, TIPL,


How to turn off cookies for a page?

0 Answers  


User contro having 4 text boxes given validation controls. i want to execute validations after the button click event how it is?

3 Answers  


Categories