Question:
Difference between Managed and Unmanaged Code in .Net?
Answer:
Managed Code
|
Unmanaged code
|
The code which is executed by CLR (Common
Language Runtime) is called Managed Code
|
The code which is developed by other language
but not executed by CLR is called Unmanaged
Code
|
We must need to install .Net framework to execute the Managed code application .
|
We do not need to install .Net framework to execute the Unmanaged code application .
|
It is executed by CLR
|
It is executed by operating system
|
Example: .Net framework
|
Example: C, COM components, Win32 API, VB and C++
|
No comments:
Post a Comment