Differentiate between managed and unmanaged code, DOT NET Programming

Assignment Help:

Differentiate between managed and unmanaged code?

Managed code is the code that is implemented directly by the CLR instead of the operating system. The code compiler first compiles the managed code to intermediate language (IL) code, also known as MSIL code. This code doesn't depend on machine configurations and can be executed on dissimilar machines.

Unmanaged code is the code that is implemented directly by the operating system outside the CLR environment. It is directly compiled to native machine code which depends on the machine configuration.

In the managed code, as the execution of the code is governed by CLR, the runtime gives different services, like garbage collection, type checking, exception handling, and security support. These services help give uniformity in platform and language-independent behavior of managed code applications. In the unmanaged code, the allocation of memory, type safety, and security is required to be taken care of by the developer. If the unmanaged code is not properly handled, it may result in memory leak. Examples of unmanaged code are ActiveX components and Win32 APIs that implement beyond the scope of native CLR.

 


Related Discussions:- Differentiate between managed and unmanaged code

Require an expert web developer, Require an expert Web Developer Our sma...

Require an expert Web Developer Our small business wants an experienced web developer to provide ongoing technical support for two websites. Experience with ASP.NET is a must.

Develop a project using microsoft active directory, Net project Project ...

Net project Project Description: We want to make .net project Microsoft Active Directory, PMS Lync 2010 - 2013 databases creating a license key for their SW generati

What are windows services, What are Windows services? Windows services,...

What are Windows services? Windows services, previously called as NT services, are applications that are installed on the system as system services. In other words, Windows ser

MVC, how can we use entity framework in ASP.Net MVC

how can we use entity framework in ASP.Net MVC

What are the main components of .net framework, What are the main component...

What are the main components of .NET Framework? .NET Framework gives enormous benefits to software developers in comparison to the advantages given by other platforms. Microsof

What is manifest, Manifest Assembly metadata is always stored in the Ma...

Manifest Assembly metadata is always stored in the Manifest. Manifest consists of all metadata required to do the following things: 1) Version of assembly 2) Security ident

B.Tech Project:Converting A Hand Drawn Diagram To A neat Dia, The project a...

The project aims at converting a rough hand drawn diagram to a neat diagram. Is it a good project for B.Tech level?Please tell how to go about it??

Auto trading software for nse, Project Description: Step 1: Buy 1 sha...

Project Description: Step 1: Buy 1 share at existing market price (ex: buy 1 at 100.00) If 4 points profit then close position if not go to step 2 Step 2: if 2 point

Converting temperature from fahrenheit to celsius in c#, Converting tempera...

Converting temperature from Fahrenheit to Celsius - Program C# I am facing some problems in the code for Converting temperature from Fahrenheit to Celsius. Can anybody suggest

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd