0 votes
in IONIC by
What is meant by Managed and Unmanaged code?

1 Answer

0 votes
by

The code that is managed by the CLR is called Managed code. This code runs inside the CLR. Hence, it is necessary to install the .Net framework in order to execute the managed code. CLR manages the memory through garbage collection and also uses the other features like CAS and CTS for efficient management of the code.

Unmanaged code is any code that does not depend on CLR for execution. It means it is developed by any other language independent of .Net framework. It uses its own runtime environment for compiling and execution.

Though it is not running inside the CLR, the unmanaged code will work properly if all the other parameters are correctly followed.

Related questions

0 votes
asked Feb 18, 2020 in C Sharp by rahuljain1
0 votes
asked Apr 27, 2020 in IONIC by SakshiSharma
...