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
What is data control in asp.net?
What are the main requirements for caching?
What are the elements of a website?
What is cross page posting in asp net?
Distinguish between Server-side and Client-side code?
What is difference between ispostback and autopostback in asp net?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
What are server side controls?
Define xmlvalidatingreader class.
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
What is difference between view and partial view?
What is voluum?
When cookie will expire?
What is cookies cache and session?
How do I use response redirect?