Difference Between Managed and Unmanaged Code in C#.NET
Today, We want to share with you Difference Between Managed and Unmanaged Code in C#.NET.In this post we will show you Managed code and unmanaged code in .NET , hear for Difference between managed and unmanaged code we will give you demo and example for implement.In this post, we will learn about The Difference Between Managed and Unmanaged Code in .Net with an example.
Managed and Unmanaged Code in .Net
In this post,I will explain about Managed and Unmanaged Code in .Net
Now in this post, I will explain about Managed and Unmanaged Code in .Net
In simple words the code which is executed by CLR (Common Language Runtime) is called Managed Code, any application which is developed in .Net framework is going to work under CLR, the CLR internally uses the Garbage Collector to clear the unused memory and also used the other functionalities like CTS, CAS etc.
The unmanaged code is cnceptually developed using some other languages (other than .Net Framework), so it uses its own language runtime to execute the applications. The application runtime will take care of its memory management, security and other thing
Even if we do not install .Net framework the unmanaged code will work properly as it is not depending on the CLR.
It is possible to run unmanaged code using managed code by using appropriate commands, but even if we run the unmanaged application using .Net code the CLR is not having control to run that application, the application uses its own runtime to execute.
You can also read about AngularJS, ASP.NET, VueJs, PHP.
I hope you get an idea about Difference between managed and unmanaged code
.I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.