Friday, April 30, 2010

What is Managed code?

2 comments:

Unknown said...

Applications that run under the supervision of CLR is managed code.
Code written using the .NET Framework is managed when it is executed
(a stage usually referred to as runtime ).

Jasmine said...

"Managed code" is a term coined by Microsoft to identify programs that requires and will only execute under the "management" of a Common Language Runtime virtual machine.
Managed code is a code written in one of over twenty high-level programming languages that are available for use with the Microsoft .NET Framework, including C#, J#, Microsoft Visual Basic .NET, Microsoft JScript .NET, and C++.
All of these languages share a unified set of class libraries and can be encoded into an Intermediate Language (IL). A runtime-aware compiler compiles the IL into native executable code within a managed execution environment that ensures type safety, array bound and index checking, exception handling, and garbage collection.