Interview FAQs


FAQs of level

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.
Resource files are the files containing data that is logically deployed with an application. These files can contain data in a number of formats including strings, images and persisted objects. It has the main advantage of if we store data in these files then we do not need to compile these if the data get changed. In .Net we basically require them storing culture specific information by localizing applications resources. You can deploy your resources using satellite assemblies.
Multiple Inheritance is an ability to inherit from more than one base class i.e. ability of a class to have more than one super class, by inheriting from different sources and thus combine separately-defined behaviours in a single class. There are two types of multiple inheritance: multiple type/interface inheritance and multiple implementation inheritance. C# & VB.NET supports only multiple type/interface inheritance, i.e. you can derive a class/interface from multiple interfaces. There is no support for multiple implementation inheritance in .Net. That means a class can only derived from one class.
Just-In-Time compiler- it converts the language that you write in .Net into machine language that a computer can understand. There are two types of JITs one is memory optimized & other is performance optimized.
Metadata is machine-readable information about a resource or "data about data”. Such information might include details on content, format, size, or other characteristics of a data source. In .Net, metadata includes type definitions, version information, external assembly references, and other standardized information.
No. Private methods are not accessible outside the class.
Yes, you can, and then the class belongs to global namespace which has no name. For commercial products, naturally, you would not want global namespace.
1. Read Only Properties: Properties without a set accessor are considered read-only.
2. Write Only Properties: Properties without a get accessor are considered write-only.
3. Read Write Properties: Properties with both a get and set accessor are considered read-write properties.
PreviousDisplaying 15 of 25Next
Need Help? Contact Us.

Log in


Forgot password?


New User