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?

Answers were Sorted based on User's Feedback



what is a delegate? what it is used for?..

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

what is a delegate? what it is used for?..

Answer / s.jayaprathap.

Delegate is a class that can hold the reference to a method
of a function.Pointers are call back......

Is This Answer Correct ?    0 Yes 0 No

what is a delegate? what it is used for?..

Answer / divyesh

Give me an example!

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More C Sharp Interview Questions

If we inherit a class do the private variables also get inherited ?

2 Answers   TCS,


Is it possible to inline assembly or il in c# code?

0 Answers  


What is class and object c#?

0 Answers  


class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } what will happen & why?

2 Answers  


how can include .netframeworl 2.0 in application setup

1 Answers  


Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?

0 Answers  


What are the different types of literals in c#?

0 Answers  


What are properties and indexer?

3 Answers   TCS,


How do you create multiple inheritance in C#?

5 Answers   Infosys, KenIndia, Microsoft,


What is the ouput of the following program?

0 Answers  


Where are value types stored in c#?

0 Answers  


What type is string in c#?

0 Answers  


Categories