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
Why is this service branded with windows livetm?
Why is mvc better than asp.net?
Explain the advantages of caching?
Can you clarified A Web service can only be written in .NET or not?
What is request and response in asp.net?
How you will improve web application performance?
What does the .webpart file do?
How will create assesblies at run time?
What is a postback url?
How to unit test Web API?
What is the use of response redirect in asp.net?
Why we go for mvc instead of asp.net? : Asp.Net MVC
What is sta?
Is asp.net web forms dead?
What are the layouts of ASP.NET Pages?