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
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.
Answer checked How we write and check questions
Discussion