Senior .Net Developer Question:
Download Questions PDF

Explain me what is the .Net framework and how does it work?

Senior .Net Developer Interview Question
Senior .Net Developer Interview Question

Answer:

It is a virtual machine that executes a managed code. The code is compiled from C# or VB .NET and is executed by the CLR (Common Language Runtime).

Its working is as follows:

☛ You create a program in C # or VB.Net and compile it. The code is then translated to CIL (Common Intermediate Language).
☛ The program is assembled into bytecode to generate a CLI (Common Language Infrastructure) assembly file of.exe or .dll format.
☛ When you run the program (or the DLL), it is executed by the .Net framework CLR (Common Language Runtime). Since the code isn’t directly run by the operating system, it is called “Managed Code”.
☛ The .Net Framework CLR, through the JIT (Just-In-Time) Compiler, is responsible for compiling this code managed in the intermediate language. The compiled code is then sent to the native machine language assembler for the CPU to execute it.

Download Senior .Net Developer Interview Questions And Answers PDF

Previous QuestionNext Question
As you know read-only variables and constants have many similarities, but what is at least one way that they differ?Tell me what is serialization?