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

How long does it take to get a loop recorder put in?

0 Answers  


Does hashset allow duplicates c#?

0 Answers  


How to store image file in Sql server database?

4 Answers   Unique Software Systems,


Define satellite Assembly in .NET?

0 Answers   DELL,


What is a thread? What is multithreading?

0 Answers  


Explain briefly the difference between value type and reference type?

0 Answers   Accenture,


Explain constructor?

6 Answers   Wipro,


In how many ways you can overload a method?

0 Answers   Siebel,


Distinguish between continue and break statement?

0 Answers  


Explain what is an interface in c#?

0 Answers  


What is the difference between virtual and override in c#?

0 Answers  


What is the diff between System.String and System.Text.StringBuilder classes?

0 Answers   Siebel,


Categories