How to find out that the code is written as managed or un-managed code?



How to find out that the code is written as managed or un-managed code?..

Answer / Priya Raghuvanshi

Managed code in C# refers to code that runs on the .NET Framework, while unmanaged code refers to native code written in languages like C++. To determine whether a code is managed or unmanaged, you can check for the presence of some specific characteristics. Managed code will be compiled into Common Intermediate Language (CIL) bytecode and executed by the Common Language Runtime (CLR), whereas unmanaged code does not have these features and relies on Platform Call (P/Invoke) or other mechanisms to interact with .NET managed code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is a hash table c#?

1 Answers  


What?s the difference between an interface and abstract class?

6 Answers   Mind Tree, Siebel,


Are objects passed by reference in c#?

1 Answers  


What is the default value of singleordefault?

1 Answers  


Describe the process of “exception handling implementation” in c#?

1 Answers  


What is xml comments in c#?

1 Answers  


From which base class do all Web Forms inherit from?

1 Answers   Siebel,


How do I create a multilanguage?

1 Answers  


What is an xsd file?

1 Answers  


What does || mean in programming?

1 Answers  


C# is case sensitive, what is mean by case sensitive

3 Answers  


If you define integer variable and a object variable and a structure then how those will be plotted in memory ?

1 Answers  


Categories