Challenger App

No.1 PSC Learning App

1M+ Downloads
Which .NET component is responsible for managing the execution of .NET programs ?

AIDE

BMSIL

CCLR

DToolbox

Answer:

C. CLR

Read Explanation:

Common Language Runtime (CLR)

  • The CLR is the fundamental execution engine of the .NET Framework, serving as the virtual machine component that manages the execution of .NET applications.
  • Key Functions of CLR:
    • Memory Management: It includes the Garbage Collector (GC), which automatically allocates and releases memory for objects, preventing memory leaks.
    • Code Compilation: It utilizes the JIT (Just-In-Time) compiler to translate Intermediate Language (IL) code into native machine code at runtime for optimal performance.
    • Type Safety: It verifies code to ensure that programs do not access memory illegally or perform invalid operations, maintaining system stability.
    • Exception Handling: It provides a standardized mechanism for handling runtime errors across different programming languages.
    • Security: It enforces Code Access Security (CAS) and Role-Based Security to restrict application access to system resources.
  • Intermediate Language (IL): When C# or VB.NET code is compiled, it is converted into Microsoft Intermediate Language (MSIL or CIL), which the CLR then executes.
  • Language Interoperability: Because the CLR manages the execution environment, it allows different .NET-compliant languages (such as C#, F#, and VB.NET) to interact, call methods, and inherit classes from one another seamlessly.
  • The CLR is a central part of the Base Class Library (BCL) interaction, ensuring that software components written in different languages can communicate through a common set of types and services.

Related Questions:

A markup language used for creating web pages and web applications
Which access specifier is used for constructors in C++?
The assembly language uses symbols instead of numbers known as:
Which command is used to add a column into database table?
A formula always begins -----------sign in MS Excel