What is Managed or Unmanaged Code?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Naveen ArumugamRank #1,227 · 1.5K reputationPosted Jul 1, 2017, 11:35 PM EDT
“The code, which is developed in .NET framework is known as managed code. This code is directly executed by CLR with the help of managed code execution. Any language that is written in .NET Framework is managed code”.
Unmanaged Code
The code, which is developed outside .NET framework is known as unmanaged code.
“Applications that do not run under the control of the CLR are said to be unmanaged, and certain languages such as C++ can be used to write such applications, which, for example, access low - level functions of the operating system. Background compatibility with the code of VB, ASP and COM are examples of unmanaged code”.
Unmanaged code can be unmanaged source code and unmanaged compile code. Unmanaged code is executed with the help of wrapper classes.
Kalai Arasi9 reputationPosted Jul 1, 2017, 11:36 PM EDT
Naveen ArumugamRank #1,227 · 1.5K reputationPosted Jul 1, 2017, 11:36 PM EDT