1.

What is Managed Code

Answer»

The code that can be compiled into an INTERMEDIATE language so we cannot run it directly on the computer as of native code.  Managed code runs in the Common Language Runtime.

Key features of managed code are:

  • Managed code INCREASES the performance gain of the application as WELL as it doesn`t require EXTRA security feature while USING unmanaged code we require extra security to increase the performance of the application
  • It includes the garbage collection and scalability feature which is the lifetime control of object
  • It makes the deployment easy and improves the version facilities at the end of dll.
  • It provides Built-in security by using code access security and avoiding buffer overruns.

Managed code runs entirely "inside the sandbox," meaning that it cannot make calls outside of the .NET Framework.  To perform more safely and efficiently we use managed code to get the maximum benefit from the features of the .NET Framework.

Code in VB.NET and Cis the managed code. If you're working with those applications, you are making managed code. We can use managed code using c++ according to the choice of the user.



Discussion

No Comment Found