what are delegates? How you used then in your project?
Answer Posted / lavanya
Delegates are pointers to functions
we pass the address of a method along with the
parameters that we want call
ex:
public delegate void delg1(string s)
we call this delg1 as
del=delg1(h1);
del("hello")
here h1 is a method
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What is desktop example?
What is the difference between disposing of () and finalize() methods in c#?
What is the purpose of namespace in c#?
How do you comment out code in c#?
Can scriptable objects have methods?
What is the default value of object in c#?
Name the control which cannot be placed in mdi?
Explain the concepts of cts and cls(common language specification).
is it possible to access a remote web service Without UDDI?
What is master page in asp net c#?
Why interface is required?
What is delegate in c#?
What is reflection in c#?
Explain how do you directly call a native function exported from a dll?
What is marshalling in c#?