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

What is the difference between renderaction and renderpartial?

630


what is entity graph in entity framework?

632


Can you please explain the request flow in ASP.NET MVC framework?

630


What is poco proxy? : Entity framework

566


How to bind table colum with gridview column?

619






The order of the filters that get executed, if the multiple filters are implemented?

624


explain lazy loading, eager loading, and explicit loading?

578


What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

591


How to make sure Client Validation is enabled in ASP.Net MVC

571


How we can invoke child actions in ASP.Net MVC?

588


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

546


Is it possible to unit test an mvc application without running the controllers in an asp.net process?

629


What is ViewData and TempData in ASP.Net MVC?

587


What is a model in android?

499


Explain what is the difference between view and partial view?

588