What is MSIL
Answers were Sorted based on User's Feedback
Answer / mukesh pathak
When compiling to managed code, the compiler translates
your source code into Microsoft intermediate language
(MSIL), which is a CPU-independent set of instructions that
can be efficiently converted to native code. MSIL includes
instructions for loading, storing, initializing, and
calling methods on objects, as well as instructions for
arithmetic and logical operations, control flow, direct
memory access, exception handling, and other operations.
Before code can be run, MSIL must be converted to CPU-
specific code, usually by a just-in-time (JIT) compiler.
Because the common language runtime supplies one or more
JIT compilers for each computer architecture it supports,
the same set of MSIL can be JIT-compiled and run on any
supported architecture. When a compiler produces MSIL, it
also produces metadata. Metadata describes the types in
your code, including the definition of each type, the
signatures of each type’s members, the members that your
code references, and other data that the runtime uses at
execution time. The MSIL and metadata are contained in a
portable executable (PE) file that is based on and extends
the published Microsoft PE and common object file format
(COFF) used historically for executable content. This file
format, which accommodates MSIL or native code as well as
metadata, enables the operating system to recognize common
language runtime images. The presence of metadata in the
file along with the MSIL enables your code to describe
itself, which means that there is no need for type
libraries or Interface Definition Language (IDL). The
runtime locates and extracts the metadata from the file as
needed during execution
Is This Answer Correct ? | 20 Yes | 2 No |
Answer / zubair khan
MSIL IS Microsoft Intermediate language.It manage code when
compiling. the compiler translate your source code into
microsoft intermediate language.It must be converted cpu
specific code, usually by a jit(just in time)
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / rama
When compiling to managed code, the compiler translates
your source code into Microsoft intermediate language
(MSIL), which is a CPU-independent set of instructions that
can be efficiently converted to native code. MSIL includes
instructions for loading, storing, initializing, and
calling methods on objects, as well as instructions for
arithmetic and logical operations, control flow, direct
memory access, exception handling, and other operations.
Before code can be run, MSIL must be converted to CPU-
specific code, usually by a just-in-time (JIT) compiler.
Because the common language runtime supplies one or more
JIT compilers for each computer architecture it supports,
the same set of MSIL can be JIT-compiled and run on any
supported architecture.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / santosh prasad
It is a Microsoft Intermediatary Language which helps to
convert programming language into machine's native language
at the time of compilation.
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / avnish
It is cpu independent language.It is only understand by CLR.
due this language(MSIL) vb.net application can run on any
platform on which .net framework is present.
Is This Answer Correct ? | 9 Yes | 5 No |
Answer / rahul srivastava
In the CLR code is expressed in a form of bytecode called
the Common Intermediate Language (CIL, previously known as
MSIL—Microsoft Intermediate Language).
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / akash
When the code is compiled, the compiler translates your
code into Microsoft intermediate language (MSIL).
check this link for detail
http://www.mindstick.com/Forum/121/What%20is%20MSIL
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / adarsh srivstava
MSIL IS Microsoft Intermediate language.It manage code when
compiling. the compiler translate your source code into
microsoft intermediate language.It must be converted cpu
specific code, usually by a jit(just in time)
Is This Answer Correct ? | 4 Yes | 2 No |
How do you use two datareaders at the same time in a vb.net windows application ?
how to get dynamic control array position or its index position?
Define cls?
Which class allows an element to be accessed using unique key?
How to achieve Polymorphism in VB.Net?
What is DLL hell?
Explain the difference between int and int32?
What is the exact defination of object?
in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?
What is the Difference between Dataset and Datareader?
What is the use of assembly?
What is break mode? What are the options to step through code?