What is MSIL?
Experience Level:
Senior
Tags:
.NET
ASP.NET MVC
ASP.NET WebAPI
ASP.NET WebForms
C#
Answer
Introduction
- MSIL stands for Microsoft Intermediate Language
- MSIL is created by .NET compiler during compilation
- MSIL is converted to machine code by JIT compiler to machine code
- During run-time (JIT compilation)
- Prior the application execution (preJIT compilation - NGen)
It can also be called
- Intermediate Language (IL) or
- Common Intermediate Language (CIL)
Why MSIL?
MSIL is CPU-independent set of instructions that can be efficiently converted to the native code.
Related C# job interview questions
-
Can you use multiple catch blocks in try/catch? What would be a use case for such thing?
C# Junior -
What do you know about delegates?
.NET C# Mid-level -
What is JIT?
.NET ASP.NET MVC ASP.NET WebAPI ASP.NET WebForms C# Senior -
Could you describe how is memory management done in .NET?
.NET ASP.NET MVC ASP.NET WebAPI ASP.NET WebForms C# Senior -
Write a code that takes an integer number and outputs its digits to the console.
.NET C# Code challenge Mid-level