what are delegates? How you used then in your project?
Answer Posted / mandeep
Delegate is an object that can refer to a method.
When we are creating delegates, we are creating an object that can hold a reference to a method; it necessarily means that a delegate can invoke the method to which it refers. ..
A very good easy to understand article related with this is here http://www.dotnetfunda.com/articles/article1670-what-are-delegates-in-csharp.aspx (plain and simple)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is cshtml?
What is mvc in c#?
Please explain value types and reference types used in c#?
Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?
What does writeline mean?
What is instantiating a class in c#?
When To use HashTable In C#
Structs are largely redundant in c++. Why does c# have them?
Explain the difference between class and interface in .net?
What is the difference between integer and double?
What is the use of list in c#?
What is generic method in c#?
What is class sortedlist underneath?
How do namespaces work?
Can the nested class access, the containing class. Give an example?