difference between managed code and unmanaged code ?

Answers were Sorted based on User's Feedback



difference between managed code and unmanaged code ?..

Answer / mayuri

the code which is run under the observation of clr is
called managed code.

at other side the code means native code which is run on
operating system and not run under onservation of clr is
known as unmanaged code.

Is This Answer Correct ?    8 Yes 0 No

difference between managed code and unmanaged code ?..

Answer / vasanth

Managed Code:
The code which is running under the control of CLR is called Managed Code.
UnManaged Code:
If we are using some third party tools, then those code will not be under the control of CLR is called UnManaged code.

Is This Answer Correct ?    5 Yes 0 No

difference between managed code and unmanaged code ?..

Answer / kirti

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. All code based on Microsoft intermediate language (MSIL) executes as managed code.

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 (for example, no garbage collection, limited debugging, and so on).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Write the syntax for catching an exception in c#?

0 Answers  


What is equal c#?

0 Answers  


When was c# created?

0 Answers  


Explain dataadapter.update method in .net?

0 Answers  


What's your approach to fetch static data in your windows form application?

0 Answers   MCN Solutions,






Why abstract class can not be instantiated?

0 Answers  


What is Implementation inheritance

0 Answers  


What is wcf c#?

0 Answers  


How cache is implemented in web application for DB queries?

2 Answers   TCS,


How many catch blocks can be there for a single try block?

5 Answers   Clover, HCL,


Can you put two constructor with the same structure in a class?

0 Answers  


Define a jagged array in c#?

0 Answers  


Categories