What is the difference between managed and unmanaged code?

Answers were Sorted based on User's Feedback



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

Answer / anil

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 ?    14 Yes 19 No

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

Answer / prabhat

Managed code are execute by CLR,
Unmanaged code are use wrapper class,

Is This Answer Correct ?    8 Yes 15 No

Post New Answer

More Dot Net Framework Interview Questions

How to change the action name in mvc?

0 Answers  


What are the advantages of mvc over asp.net?

0 Answers  


I couldnot answer for projects bcz i have 2+ fake experience.can you please tell me how to answer..?

2 Answers   IBM,


What are the types of authentication in .net

1 Answers  


What is the difference b/w constant & read only variable?

4 Answers   IMI Soft Engineering,






What is Partial Assembly References?

3 Answers   Microsoft,


How to free the memory that is not used by an object in garbage collection?

4 Answers   IBM,


Can you draw and explain the .NET Farmework?

2 Answers   Bosch,


Speaking of Boolean data types, what's different between C# and C/C++ ?

1 Answers  


What's an interface

1 Answers  


What you mean by routing in mvc?

0 Answers  


Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Qu)I Got Exception in "try" block. Which "catch" statement (i.e. 1st catch or 2nd catch ) catches the exception and Why???

6 Answers   3i Infotech,


Categories