difference between managed code and unmanaged code ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does int parse do in c#?

465


What is array c#?

512


What is the default value of decimal in c#?

484


How many dimensions can an array have?

460


Can you declare a field readonly?

533






What are sorted lists?

493


What is anonymous class in c#?

509


List the 5 different access modifiers in c#?

502


Can you mark static constructor with access modifiers?

543


What is the benefit of delegate in c#?

490


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

1577


What is the use of list in c#?

461


Explain deadlock?

508


Can we extend static class in c#?

471


What is the meaning of MSIL?

653