Practice mode C#

In .NET, what does the Common Language Runtime (CLR) mainly provide?

Correct answer C. A managed execution environment with memory management, type safety and exception handling

Explanation

The CLR is the virtual machine at the heart of .NET. It loads assemblies, compiles intermediate code to native code, manages memory through the garbage collector, enforces type safety and handles exceptions and threads. Code that runs under its control is called managed code. NuGet, visual designers and databases are separate tools and products, not runtime services.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.