DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   

What is managed and unmanaged code in .NET

By Ashok Nalam on 30 Dec 2012 | Category: .NET Framework | Tagged: .NET difference 
  Discuss Add Comment   |  
Add rating Rate this resource  [Rated 3.00/5 by 1 people] 
Manged Code - code which is executed under Common Language Runtime (CLR). Due to this, the code has  many benefits like memory management, support of version control, type safety and security. The code which targets CLR and written in .NET framework is a managed code. E.g: C#,VB.NET

Unmanaged code : code which is not executed under .NET runtime (CLR). CLR is does not have control over execution of code.memory management, security and type safety should be taken care by developer.  
E.g: VB6, C,C++. 

managed code typically compiled to Intermediate Language(IL) code where as unmanged code directly compiles to native code.
  Discuss Add Comment    
Add rating Rate this resource  [Rated 3.00/5 by 1 people] 
About the Contributor
Member Since : 10 Dec 2012
Member Points (Level) : 7003  (Expert)
Location : INDIA
Home Page : http://dotnetmirror.com
About : I am admin of this site.
Rate this resource
 
Add your Comment
Name Email WebSite
Captcha Refresh


Comments (0)
No comments found, click here to add comment.