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's the difference between viewstate and sessionstate?
What are the different method of navigation in asp.net?
What are session cookies?
What are the 3 levels at which content pages can be attached to Master Page?
Why do we need master page in asp.net?
What is the difference between abstract class vs interface? Can give me the real time examples?
What are the 3 types of web?
Do you know using sql cache invalidation?
Why cyclomatic complexity is important?
Which authentication uses a combination of windows and iis authentication?
What are the three parts of an http response?
How can we create Tree control in asp.net?
How can you handle errors in Web API?
Where is session cookies stored?
How would you get asp.net running in apache web servers? Explain it's limitations.