What is the difference between managed and unmanaged code?

Answer Posted / rita patel

The code that targets the CLR is known as managed code.
and the code that doesn't targets the CLR is known as
unmanaged code.

unmanaged code is still executed by CLR but it doesn't get
advantages of CLR like memory management, thread managament,
security, garbage mechanism etc.

managed code executed on fixed location in memory while
unmanaged code executes on random location in memory.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can add the CSS in ASP.Net MVC?

578


When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

554


What is the difference between viewbag and viewdata in mvc?

535


What are authentication filters in web api?

577


Is .net core replacing .net framework?

474






What symbol would you use to denote, the start of a code block in razor views?

572


What is entitytype? : Entity framework

533


Why should we go for entity framework?

524


Explain how to use multiple submit buttons in ASP.Net MVC?

646


Is .net core faster than .net framework?

556


What happens when I install the .net framework 3.0? How can I upgrade if I already have the .net framework 2.0 installed?

531


What is the difference between model view and controller?

483


Explain the use of Inversion of control (IOC)?

605


I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

2653


What is the meaning of unobtrusive javascript?

557