Answer Posted / jasbir singh thakur
Common Language Runtime (CLR)
working of CLR:-
When the .NET program is compiled, the output of the
compiler is not an executable file but a file that contains
a special type of code called the Microsoft Intermediate
Language (MSIL), which is a low-level set of instructions
understood by the common language run time. This MSIL
defines a set of portable instructions that are independent
of any specific CPU. It's the job of the CLR to translate
this Intermediate code into a executable code when the
program is executed making the program to run in any
environment for which the CLR is implemented. And that's
how the .NET Framework achieves Portability. This MSIL is
turned into executable code using a JIT (Just In Time)
complier. The process goes like this, when .NET programs
are executed, the CLR activates the JIT complier. The JIT
complier converts MSIL into native code on a demand basis
as each part of the program is needed. Thus the program
executes as a native code even though it is compiled into
MSIL making the program to run as fast as it would if it is
compiled to native code but achieves the portability
benefits of MSIL.
| Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
Explain the difference between vb.net and c#, related to oops concepts?
Explain the difference between thread and process?
what is common type system?
what is intermediate language?
What is the difference between vb 6 and vb.net?
What is the feature anonymous type?
What are the objects in asp.net?
Explain about delegate?
what is interface and when it is used?
Explain the difference between system.string and system.stringbuilder classes?
Explain the difference between c# and vb.net?
described weak typing?
What is break mode? What are the options to step through code?
What is the use of system.diagnostics.process class?
What is the difference between static or dynamic assemblies?