What?s a delegate?

Answer Posted / maqsud

The delegate keyword is used to declare a reference type
that can be used to encapsulate a named or an anonymous
method. Delegates are similar to function pointers in C++;
however, delegates are type-safe and secure.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between call by value and call by reference in C#?

599


Explain inheritance in c#?

620


How to reverse each word in a string using c#?

648


Enlist all the components of an ado.net framework?

557


what is method overloading in c#?

634






Why we use extension methods in c#?

547


What is the difference between Object and class adapters?

594


Can you instantiate a struct without using a new operator in c#?

628


Difference between debug.write and trace.write?

614


Explain About friend and Protected friend

592


Explain the Usage of web.config

663


What is Named parameter in C#?

632


What are static and dynamic variables?

729


What is primitive types in c#?

555


What does || mean in programming?

576