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
Which is better asp.net or php?
Can you explain architecture of your project ?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What does asax stand for?
What do you mean by serialize?
Can you clarified A Web service can only be written in .NET or not?
What are the three parts of an http response?
What is different authentication mechanisms used in ASP.NET?
How to do state management in ASP.NET?
Differentiate between structure and class.
Explain the basic functionality of garbage collector?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
Can we have 2 web config files?
Explain the use of view state?
What are session state modes in asp.net?