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

Are all methods virtual in c#?

534


Can constructor be overloaded in c#?

472


Ho we can see assembly information?

518


What are the types of operator?

455


How do I unload an assembly?

517






What is the difference between static class and singleton class in c#?

486


What are class fields?

503


What is the boxing and unboxing in c#?

498


What is the do while loop code?

489


explain the features of static/shared classes.

497


What is the C# syntax to catch any possible exception?

526


Describe ado.net?

572


Which of the following API is used to hide a window?

533


What is the purpose of the integer parse method the decimal parse method?

518


What is the function of the not null constraint?

492