What is managed code and unmanaged code ?

 Posted by Bharathi Cherukuri on 4/24/2012 | Category: ASP.NET Interview questions | Views: 16999 | Points: 40
Answer:

The code which is produced by (vb.net,c#,j#) .net framework language is called as managed code which is under the control of CLR.Garbage collector run automatically in managed code.
The code which is produced by third party language is called as unmanaged code, which does not run under the control of CLR.Garbage collector will not run in case of unmanaged code.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Nareyugam on: 4/25/2012 | Points: 10
Code which is run under the CLR is called Managed code
Unmanaged is vice verse of Managed code
Posted by: Savariya on: 4/25/2012 | Points: 10
a code which is run under the supervision of .net CLR is called managed code and a codd which run not under the supervision of CLr is clled un managed code
Posted by: Akiii on: 4/25/2012 | Points: 10
good question bharathi !


Thanks and Regards
Akiii
Posted by: Bharathi Cherukuri on: 4/26/2012 | Points: 10
Thanks Akiii !!

Regards,
Bharathi

Login to post response