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

Read Also:  Laravel Eloquent "WhereNotIn" Query Example

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

Read Also:  Bitbucket repositories | Create repositories & add files

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 Also:  Simple CodeIgniter 3 login MySQL Database

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.


Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  Vuejs autocomplete search with typeahead js
  2. Read Also:  Filters Example (Number, Currency) using Angular
  3. Read Also:  Full form of Softwares Related
  4. Read Also:  Global Config variable In Laravel 6 Example
  5. Read Also:  localhost Phpmyadmin Server Error Solution
  6. Read Also:  Pagination with jQuery Ajax PHP and MySQL
  7. Read Also:  Like Dislike system with PHP and MySQL
  8. Read Also:  Pagination with jQuery Ajax PHP and MySQL
  9. Read Also:  Simple CodeIgniter 3 login MySQL Database
  10. Read Also:  Bitbucket repositories | Create repositories & add files