.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...