VISUAL BASIC

INTRODUCTION TO NET

BASICS OF NET FRAMEWORK

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The main function of ____ is to convert the managed code into native code and then execute the code.
A
CLR
B
CTS
C
CLS
D
FCL
Explanation: 

Detailed explanation-1: -The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the program. The Managed Code compiled only when it is needed, that is it converts the appropriate instructions when each function is called.

Detailed explanation-2: -The Common Language Runtime (CLR) is programming that manages the execution of programs written in any of several supported languages, allowing them to share common object-oriented classes written in any of the languages.

Detailed explanation-3: -The Common Language Runtime (CLR) is a core component of . NET Framework that manages the execution and the lifecycle of all . NET applications (code). It provides various services, including automatic memory management, exception handling, security, and type safety.

Detailed explanation-4: -To put it simply, managed code is just that: code whose execution is managed by a runtime. In this case, the runtime in question is called the Common Language Runtime or CLR, regardless of the implementation (for example, Mono, . NET Framework, or . NET Core/.

Detailed explanation-5: -At execution time the CLR converts the MSIL to native code using the JIT compiler at runtime.

Detailed explanation-6: -The Common Language Runtime (CLR) is an environment that manages code execution and provides application-development services. Compilers such as VB . NET expose the CLR’s functionality to enable developers to create applications. Code that is created under this environment is called managed code .

Detailed explanation-7: -At execution time, a just-in-time (JIT) compiler translates the MSIL into native code. During this compilation, code must pass a verification process that examines the MSIL and metadata to find out whether the code can be determined to be type safe.

There is 1 question to complete.