What is the difference between managed and unmanaged code?
*******

Answer Posted / alb.shah

A code that executed under the instructions of CLR is called
managed code.
A code that execute without the instruction of CLR is called
unmanaged code.

Program written in any .net compatible language will go for
compilation for 2times.
In the first compilation of the program, the language
compiler will generate MSIL code which is the managed code.
&

the code generated after the second execution ie by the CLR
is called unmanaged code which is machine understandable and
not by the user.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where the assembly is stored in asp.net?

544


What is caching? What are different ways of caching in asp.net?

656


What is ascx?

523


What are session state modes? List some of the important session state modes of asp.net.

524


How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

1561






What is a viewbag?

501


How can you access the properties and controls of master pages from content pages?

511


Difference between response.redirect and server.transfer?

545


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

520


What are the Types of state management techniques

554


How to improve performance of web application asp.net mvc? : Asp.Net MVC

485


Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?

497


how to retrieve property settings from xml .config file.

541


What is difference between abstract class and an interface?

495


Explain the difference between debug.write and trace.write? When should each be used?

551