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

Delegates are a type that references method. Normally when
we calling a method we will pass some data to that method
as input parameter. But in some scenario we might need to
pass method as input parameter to other method in such case
we can use delegate.
Delegate wraps any method which matches its signature,
calling a delegate result in calling a method so this gives
the ability to call the method programmatically based on
our business needs.
hgfhfghbgf

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define satellite assembly in c#?

960


What is difference between an reference type and value type in C#?

1105


Where do we use static class in c#?

976


In how many ways you can overload a method?

1110


Explain the difference between Metadata and Manifest

1019


Why do we use yield in c#?

977


What is difference between function and method in c#?

949


Enlist some of the properties of a thread class?

985


What is a callback c#?

1053


Explain the different ways a method can be overloaded?

925


In which way you can convert a value-type to a reference-type?

1024


What is the process of delegation?

1025


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

959


Explain about generics in c#.net?

1108


what is the difference between a struct and a class in c#?

1228