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

Which is better asp.net or php?

980


Can you explain architecture of your project ?

1056


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

949


What does asax stand for?

947


What do you mean by serialize?

934


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

995


What are the three parts of an http response?

922


What is different authentication mechanisms used in ASP.NET?

1050


How to do state management in ASP.NET?

1039


Differentiate between structure and class.

973


Explain the basic functionality of garbage collector?

928


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

988


Can we have 2 web config files?

908


Explain the use of view state?

941


What are session state modes in asp.net?

950