What is managed code?

Skill/Topic: Intermediate
A) Code managed ouside the IL
B) Code which can't be managed by the IL
C) Code written in VB.NET
D) Code to be compiled by IL

Showing Answers 1 - 18 of 18 Answers

samiksc

  • Dec 7th, 2005
 

(D) is the correct choice. Managed code is the code written in one of 20 high level programming languages available for use with .Net framework which is compiled into IL during the first level of compilation.

praveen

  • Dec 17th, 2005
 

Ans : (A) The managed code are the code which are managed by the CLR not by the executalble code itself.(Ref.- MCSD Training Kit Developing Web Applicaion of PHI)

  Was this answer useful?  Yes

praveen

  • Dec 17th, 2005
 

Ans : (A) The managed code are the code which are managed by the CLR not by the executalble code itself.(Ref.- MCSD Training Kit Developing Web Applicaion of PHI)

  Was this answer useful?  Yes

nitin

  • Nov 8th, 2006
 

D is the right answer!!

  Was this answer useful?  Yes

Sreenivas

  • Nov 22nd, 2006
 

A is correct ans,

Ex: vbc compiler is compile to vb.net application in to MSIL(IL) code

     csc compiler is compile to c#.net application code in to MSIL code

DotNet support multiple languages , each compiler will convert MSIL(IL) Code only. after CLR execute the code in memory before taking code in CLR, JIt will compile machine understandble code.

  Was this answer useful?  Yes

spammer3

  • Dec 8th, 2008
 

The answers to this question probably need to be changed a little. To go through the 2 most debated items.

A) This is wrong, managed code is IL. Source .net is compiled to IL, how can they be managed outside?

D) This is also wrong, managed code is not compiled by IL. IL is JIT compiled by the CLR to machine specific code.

Wikipedia has a good definition of managed code.



  Was this answer useful?  Yes

vidyajnath

  • Jul 5th, 2010
 

Code that targets the Common Language Runtime, the foundation of the .NET Framework, is known as Managed Code;
Code that does not target the Common Language Runtime is known as Unmanaged Code.

  Was this answer useful?  Yes

levteck

  • Aug 15th, 2010
 

c) Code written in VB.NET is managed code.  If it was written in Java it would be considered unmanaged.  If it is not compilable into IL to run on CLR than it is unmananged code.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions