What?s a delegate?

Answer Posted / anuj

Delegate is a class having no body, whose object can store
the reference of method of some another class...
example :
public delegate void del();

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are cshtml files?

485


i want the csharp questions&answeres

1489


How many kinds of elements an array can have?

472


What’s thread.sleep() in threading ?

505


Differentiate between copy and default constructor.

568






Difference between a sub and a function in c#.

539


What are indexers in c# .net?

522


Which is better python or c#?

458


Can we maintain state in webservice?

498


Distinguish between the Debug class and Trace class with its functionality?

532


What is difference between dictionary and list in c#?

452


What is the and operator in c#?

480


What are custom attributes in c#?

495


Can I use exceptions in c#?

537


Structs are not reference types. Can structs have constructors?

496