why we are using delegates and in which condition it is
required?
Answer Posted / santosh
delegates are similler to function pointers.. main it is
callback methods.. we can call the methods at time more
than one methods.. delegates are 2 types 1.single cast
delegets 2.multicaste delegates like sysntax:
access modifiers delegate returntype
delegatename("arguments")
{
}
// creating reference for delegates
objectname.delegatename();
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Where sessions are stored?
What is the use of view state?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
What are tuples?
Can I tap into other windows livetm services?
List the events in page life cycle.
How to create events for a control?
What is the function of the ViewState property?
Explain what does mvc represent in asp.net? : asp.net mvc
Do cookies store passwords?
What are different types of api?
What is a web api? Which protocol is used in a web api?
What is meant by asp.net?
How to improve performance of web application asp.net mvc? : Asp.Net MVC
Mention few asp.net validators.