Posted inProgramming / ASP.NET / Technology

Difference Between Managed and Unmanaged Code in C#.NET

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

Managed Code

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.

Unmanaged Code

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.

Read :

Summary

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.

I am Jaydeep Gondaliya , a software engineer, the founder and the person running Pakainfo. I'm a full-stack developer, entrepreneur and owner of Pakainfo.com. I live in India and I love to write tutorials and tips that can help to other artisan, a Passionate Blogger, who love to share the informative content on PHP, JavaScript, jQuery, Laravel, CodeIgniter, VueJS, AngularJS and Bootstrap from the early stage.

Leave a Reply

Your email address will not be published. Required fields are marked *

We accept paid guest Posting on our Site : Guest Post Chat with Us On Skype