What is the difference between managed and unmanaged code?

Answer Posted / jonasstuart

Managed Code:
Code that runs under a "contract of cooperation" with the common language runtime. Managed code must supply the metadata necessary for the runtime to provide services such as memory management, cross-language integration, code access security, and
automatic lifetime control of objects.
Un-Managed Code:
Code that is created without regard for the conventions and requirements of the common language runtime. Unmanaged code executes in the common language runtime environment with minimal services.Check this useful article
https://www.mindstick.com/blog/833/difference-between-managed-code-and-unmanaged-code
http://www.agrini-tricks.in/Tutorial/Differentiate-between-managed-code-and-unmanaged-code.aspx
I hope it will help you

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between Viewbag and Viewdata in ASP.NET MVC?

567


What is meant by tempdata in mvc?

533


what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?

1684


Why we need a separate mobile project template, while we can render our web application in mobile ?

584


Can you use Razor code in Javascript in ASP.Net MVC?

660






How does servicing work for the .net framework 3.0?

534


Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?

558


Which is the root namespace for fundamental types in .net framework?

563


Give an example for authorization filters in an asp.net mvc application?

530


What are the possible razor view extensions?

563


What are the 3 main components of an asp.net mvc application?

534


Explain tempdata in asp.net mvc?

594


what is msl?

624


What are Model Binders in ASP.Net MVC?

687


What is display mode in mvc?

573