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 / cool

Delegate is a strong type function pointer and it passes the
method signature for the class and class that has this
signature can use this delegates.
This is similar to Pointers in C and C++.
If we use this delegates for single method then this is
single case and if the method declared to more than one
method then this is called as multicast delegate object

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you achieve run time polymorphism in C#?

1049


What is private readonly in c#?

1001


What is the execution entry point for a c# console application?

1021


Which attribute is used in order that the method can be used as webservice?

978


How do I declare a pure virtual function in c#?

1037


Can derived classes have greater accessibility than their base types?

987


What is the usage of OLE?

1058


What is the main purpose of delegates in c#?

1020


What is sqldataadapter in c#?

950


What is the difference between as and is operators in c#?

974


What are Indexers in C#?

1102


What does using do in c#?

951


Should I use double or float?

959


What is typeof undefined?

979


Do unused Namespaces in c# affect run-time performance?

1095