ASP.NET
Programming and Technical
What is the managed and unmanaged code in .net?
Read Solution (Total 3)
-
- Managed code is a MsIL code generated by Common language Run time. It is well managed by CLR means proper memory management and Metadata. It is not machine dependent (It doesnt require same chip machines).It is not compiled by os.
Unmanaged code is a direct binary language code. Not well managed It is machine dependent.It is directly compiled by os.compiled by native compiler instead of clr. - 10 years agoHelpfull: Yes(0) No(1)
- Managed Code is the code that has executed by the common language Runtime environment.On the other hand, Unmanaged code is directly executed by the computer by the computer's CPU.
- 6 years agoHelpfull: Yes(0) No(0)
- Managed code is computer program code that requires and will execute only under the management of a Common Language Runtime virtual machine, typically the .NET Framework, or Mono.
Any language that is written in .NET Framework is managed code. Managed code uses CLR which in turns looks after your applications by managing memory, handling security, allowing cross - language debugging, and so on. The code, which is developed outside .NET, Framework is known as unmanaged code. - 6 years agoHelpfull: Yes(0) No(0)
ASP.NET Other Question