Monday, 4 December 2017

Difference between Managed and Unmanaged Code in .Net?

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

apply function in R

1) apply function: It takes 3 arguments matrix,margin and function.. Example: m<-matrix(c(1,2,3,4),nrow=2,ncol=2) m #1 indicates it is ap...