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 ilist c#?
Compare and contrast between the System.Array.CopyTo() and Clone()?
if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.
What is the property of class?
What is the console on a mac?
Can hashtable have duplicate keys?
Structs are largely redundant in c++. Why does c# have them?
Why is dll used?
What is lastindexof c#?
What is object type in c#?
Define xslt.
What is sqlcommand in c#?
What is a ienumerator?
What does char mean in c#?
what is the index value of the first element in an array?