Saturday, January 09, 2016

What do you mean by Common Language Runtime (CLR)?

Solution:-
            The Common Language Runtime (CLR), is the runtime environment of the .NET framework, which manages the execution of code and provides services. It has five components namely:
·        CTS - Common Type System
·        CLS - Common Language Specification
·        CIL - Common Intermediate Language
·        JIT   -  Just in Time Compiler
·         VES - Virtual Execution System
             The .NET Framework is an integral Windows component that supports building and running the next generation of applications and XML Web services. The .NET Framework has two main components: the common language runtime (CLR) and the .NET Framework class library.
            CLR is the foundation of the .NET Framework. It runs the code and provides services that make the development process easier.Thus, we need .NET Framework to support our .NET application to run on the target machine.
           We need the .net framework on the machine to run our application or software based on .net. For example, As we need JVM where ever we want to run java applications, right same as .net it require CLR and .net framework on the machine Java and .net are Platform Independent, not JVM and Nor CLR.