What are delegates?where are they used
Answer / kirti
A delegate defines a reference type that can be used to encapsulate a method with a specific signature. A delegate instance encapsulates a static or an instance method. Delegates are roughly similar to function pointers in C++; however, delegates are type-safe and secure.
When do you use virtual keyword ?.
When we need to override a method of the base class in the sub class, then we give the virtual keyword in the base class method. This makes the method in the base class to be overridable. Methods, properties, and indexers can be virtual, which means that their implementation can be overridden in derived classes.
Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between viewbag and viewdata in mvc?
what is mean by versioning? Please answer me. Advance thanks.
What is the use of viewmodel in mvc?
Does the .NET Framework have in-built support for serialization?
I can't be bothered with all this CAS stuff. Can I turn it off
What is display mode in mvc?
What is Attribute Routing in ASP.Net MVC?
When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?
Is it possible to cancel filter execution?
Which is the root namespace for fundamental types in .net framework?
What is the difference between tempdata and viewbag?
Define .NET architecture ?