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

Delegates are reference types which allow indirect calls to
methods .some single delegates can reference multiple
methods

Is This Answer Correct ?    24 Yes 5 No

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

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

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

Answer / divya

Delegates are similar to function pointers in C C++,
Delegate objects hold references to functions.

Delgates are mainly used in event handling

Is This Answer Correct ?    16 Yes 1 No

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

Answer / anu1983_mca@yahoo.co.in

Delegate defines a reference type that can be used to
encapsulate a method.Delegate is a function pointer in c++.

I. Delegate is a Type-Safe and secure

Is This Answer Correct ?    12 Yes 2 No

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

Answer / asin

Delegate is a Function Pointer.It invokes methods.
References to methods are wrapped in delegates.

Is This Answer Correct ?    15 Yes 9 No

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

Answer / divyesh

Nobody has written the actual scenario where the delegates
will be used instead of events!

Is This Answer Correct ?    6 Yes 1 No

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

Answer / subhransu

A delegate is a type-safe object that can point to another method (or possibly multiple methods) .

Is This Answer Correct ?    5 Yes 2 No

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

Answer / d.monisha caroline

Delegate is a reference type variable which holds reference
to a method,,,delegates are primarily used in c# programming
for implementing events and callbacks

Is This Answer Correct ?    4 Yes 1 No

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

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

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

Answer / subbu

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.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

When you inherit a protected class-level variable, who is it available to?

2 Answers  


What is meant by desktop application?

0 Answers  


What is the difference between method and function in c#?

0 Answers  


How do you determine whether a string represents a numeric value?

0 Answers  


How assembly versioning in .NET prevent DLL Hell problem?

0 Answers   DELL,


How can you set image source dynamically from c# application to ”test.png” file?

0 Answers  


What are the keywords used to pass parameters to the base class and how do I invoke other constructors.

3 Answers  


What is a Command Object in C#?

0 Answers   B-Ways TecnoSoft,


How many types of delegates are there in c#?

0 Answers  


What is the difference between continue and break statement?

0 Answers  


Are arraylist faster or arrays?

0 Answers  


What is concrete class in c#?

0 Answers  


Categories