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 |
give the feature of .net2.0 over .net1.1
How to Redirect Tracing to a File
Is dapper better than entity framework?
Is it possible to unit test an mvc application without running the controllers in an asp.net process?
What was the problem in traditional component why side by side execution is supported in .net ?
How do I change the permission set for a code group
How many .NET languages can a single .NET DLL contain
Is .net framework backwards compatible?
unit test done by tetser on development team?
will there be any issues adding a table without primary keys to a data model?
What are differences between entity framework and l2s? : Entity framework
What are the mobile devices supported by .net platform