what is a delegate? what it is used for?

Answer Posted / asin

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

Is This Answer Correct ?    15 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a verbatim string literal and why do we use it?

477


When should you use generics?

513


How do you serialize in c#?

471


Difference between StackPanel and RelativePanel ?

575


Contrast between an interface and abstract class?

543






Are c and c# the same thing?

491


What is argument in c#?

518


What is yield in c#?

499


Can you specify nested classes as partial classes?

512


What are the different types of constructors?

509


What is the meaning of MSIL?

664


Can hashtable have duplicate keys in c#?

478


How we convert private assembly into public assembly?

524


What is difference between association, aggregation and inheritance relationships?

496


What is a constructor in c#?

518