what are delegates? How you used then in your project?

Answer Posted / deepti

delegates just like a pointers,its nothing but hold the
address of a variable..
There r two types of delegates:
1) Single Delegates: it calls only one method.
2) Multiple Delegates: it calls multiple methods.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Contrast between an interface and abstract class?

631


Can the accessibility of a type member be greater than the accessibility of its containing type?

653


Explain About Web.config

626


What's the difference between a static method and a non static method c#?

601


Explain about finalize method?

631






if a method is marked as protected internal who can access it?

644


Is null == null c#?

558


Do void methods have parameters?

586


Why we use methods in c#?

629


What is the difference between ref and out parameters in c#?

559


Explain About .NET Remoting and types of remoting

668


what is boxing and unboxing?can we initialize unboxing directly?

584


Why do I get a "cs5001: does not have an entry point defined" error when compiling?

604


What exactly is serverless?

494


Why do we use inheritance in c#?

571