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 |
What is partialview in asp.net mvc?
Give an example for authorization filters in an asp.net mvc application?
Will there be a .net compact framework 3.0 release with release of .net framework 3.0?
Explain the methods used to render the views in mvc?
What are class access modifiers
How route table has been created in ASP.NET ASP.Net MVC?
What are the Core features of ASP.NET MVC?
How do you do role based security ?
1 Answers Accenture, BirlaSoft,
how can you enhance the performance of entity framework?
Can I set the unlimited length for "maxjsonlength" property in config?
Where do the reference-type variables go in the RAM ?
What is .net architecture and framework?