Practice mode C#

What is meant by ‘managed code’ in .NET?

Correct answer C. Code whose execution is controlled by the .NET runtime, which handles memory and safety services

Explanation

Managed code is any code that runs under the control of the CLR. The runtime allocates and frees memory for it, verifies type safety, handles exceptions and supplies security checks. Unmanaged code, such as a native C++ DLL, runs directly on the operating system and must manage its own memory. C#, F# and Visual Basic all compile to managed code.

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.