Home » .Net

What is Microsoft Inter-mediate Language (MSIL) code in .Net?

Learn: What is MSIL (Microsoft Inter-mediate Language) Code in .Net, how MSIL converts the code into equivalent common code, so that .net framework understands the code.

There are many languages used in .NET Framework. For each language a different compiler is used for compiling the source codes. In .NET Framework’s each compiler converts source code into an intermediate code is known as Microsoft Inter-mediate language code.

The advantage of MSIL code is: it can be consumed by any other .NET compatible language. The MSIL code is common for all languages and is understandable only to .NET environment.

See, how MSIL code generates
(Image source: http://www.c-sharpcorner.com/blogs/compilation-in-net1)

what is MSIL in .net

MSIL code is also known as CIL (Common Intermediate Language) code. Due to MSIL code .NET Framework achieves language inter-operability.

Here, Language inter-operability means one module of project is developed in c#, it can be consumed in VB.NET. Thus, .NET framework is also known as language independent.


Comments and Discussions!

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.