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

What is data control in asp.net?

1019


What are the main requirements for caching?

1042


What are the elements of a website?

1002


What is cross page posting in asp net?

969


Distinguish between Server-side and Client-side code?

1086


What is difference between ispostback and autopostback in asp net?

1040


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

1034


What are server side controls?

993


Define xmlvalidatingreader class.

1084


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

2166


What is difference between view and partial view?

923


What is voluum?

969


When cookie will expire?

992


What is cookies cache and session?

959


How do I use response redirect?

980