.NET Interview Questions - Basic

1. What is IL or MSIL?

 IL is acronym for Intermediate language; is also known as MSIL or CIL (Common Intermediate Language). All .NET source code is compiled in IL and IL is then converted into machine code at run time by JIT (Just-In-Time) compiler.

2. What is CLR?

 Common language runtime is the heart of the .NET framework. CLR is responsible for:

a) Garbage collection: GC runs automatically in .NET framework, manages the memory and removes the memory leaks when some object is not in use.

b) Code access security: CAS takes care of rights of program execution as per security configuration of machine.More...

.NET Interview Questions - Threading

1. What is multi-tasking?

It is a feature of Operating Systems which helps to run more than one applications at a time like Internet Explorer, Visual Studio and SQL Server etc.

2. What is multi-threading?

We can say that it is a sub-set of multi-tasking. It allows us to perform more than one operations at a time in a single application. For example: When we type in Microsoft Word at a same that does spelling check also in seperate thread.More...

.NET Interview Questions - OOPS

1. What is Class?

A class is a way to create your own custom types by grouping together variables of other types, methods and events. It is a data type which represents a blue print of objects. We can say it is a template of object. The variable remains in memory until all references to it go out of scope.

2. What is Object?

An object can be a variable, a data structure, or a function. In the OOPS which is class driven, object refers to a particular instance of a class where the object can be a combination of variables, functions etc. Everything that the software object knows (state/ variables) and can do (behavior/ methods) is expressed by the variables and methods within that object

3. What are feature of OOPS? 

  1. Objects: Objects are the basic unit of OOP. They are instances of class, which have data members and uses various member functions to perform tasks.More...