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...

what is a delegate? what it is used for?

Answer Posted / ranjith

Delegate is nothing but a Function pointer,which stores the
address of a method.
These of two types
1)simple delegate:which stores the address of the method.
2)multi cast delegate: which stored the address of multiple
methods.

Generally Delegates are used for EVENT HANDLING and GENERIC
ROUTINES

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does console mean c#?

988


What is int64 in c#?

940


How do I do a case-insensitive string comparison?

1157


Can struct inherit from class c#?

1033


Explain the role of Garbage collector and its generations?

1012


What are jump statements in c#?

1030


What is the difference between string and stringbuilder in c#?

1030


What is bit in c#?

1036


What are the differences between a class and a struct?

1180


What is delegates in c# and uses of delegates?

905


Why is it important to override gethashcode when equals method is overridden?

1073


What is a event in c#?

939


Can we have multiple threads in one app domain?

988


What is difference between array and collection?

1133


How does substring work in c#?

1035