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
What is a concrete class in c#?
What is the difference between ienumerable and enumerator?
Can I do things in il that I can't do in c#?
What's new in c#?
Define clr in .net?
Explain namespaces in c#.
How long does it take to get a loop recorder put in?
Can scriptable objects have methods?
Is boxing an implicit conversion?
Can an abstract class inherit from another abstract class c#?
Are c# destructors the same as c++ destructors?
What do u mean by thread safe?
Are all methods virtual in c#?
What is the difference between “constant” and “readonly” variables in c#?
Why c# is called type safe language?