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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is this service branded with windows livetm?

1076


Why is mvc better than asp.net?

1064


Explain the advantages of caching?

992


Can you clarified A Web service can only be written in .NET or not?

1038


What is request and response in asp.net?

958


How you will improve web application performance?

1037


What does the .webpart file do?

1022


How will create assesblies at run time?

983


What is a postback url?

875


How to unit test Web API?

1201


What is the use of response redirect in asp.net?

1057


Why we go for mvc instead of asp.net? : Asp.Net MVC

1056


What is sta?

976


Is asp.net web forms dead?

1114


What are the layouts of ASP.NET Pages?

1046