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 difference between method overriding and method overloading?
What is int32 maxvalue?
What is the use of static in c#?
What is difference between virtual and override in c#?
What is the class in c#?
What is the difference between const and static read-only?
What is a string c#?
What is difference between static and readonly in c#?
How do I get deterministic finalization in c#?
Define clr in .net?
Explain the steps to create satellite assembly?
What is inline function in c#?
Enlist some of the properties of a thread class?
Are c# tuples immutable?
Can we make a Static Constructor Parameterized? Give Reason with your answer