what is a delegate? what it is used for?

Answer Posted / cool

Delegate is a strong type function pointer and it passes the
method signature for the class and class that has this
signature can use this delegates.
This is similar to Pointers in C and C++.
If we use this delegates for single method then this is
single case and if the method declared to more than one
method then this is called as multicast delegate object

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Int map to which .net types?

645


What is the difference between dataset and datatable in c#?

622


Describe the parts of assembly.

606


What is wpf application in c#?

542


What is c# in asp net?

567






What you mean by inner exception in c#?

619


Explain about ODP.net

878


can you allow a class to be inherited, but prevent the method from being over-ridden?

636


Explain About disco and uddi

787


Is it possible to nest cfml conditional tags?

626


What is an interface class? Give one example of it

571


How do you declare a method in c#?

578


What are strongly typed objects?

577


What is unrecognized escape sequence in c#?

591


What is difference between string and stringbuilder in c#?

559