Managed Code vs. Unmanaged Code# DotNet - 窗口里的风景
E*s
1 楼
.NET code that uses FCL is called Managed Code.
because it is managed by CLR
As you know that the CLR manage the execution of .NET programs and managing
the code is one way of managing .NET applications. When we write Managed Code
we don’t care about Memory management, Handling operating system low-level
functions because CLR abstract these details from us and manage it.
Unmanaged Code
it is the code that not managed by the CLR
it’s your responsibility to manage the memory and many other thing
because it is managed by CLR
As you know that the CLR manage the execution of .NET programs and managing
the code is one way of managing .NET applications. When we write Managed Code
we don’t care about Memory management, Handling operating system low-level
functions because CLR abstract these details from us and manage it.
Unmanaged Code
it is the code that not managed by the CLR
it’s your responsibility to manage the memory and many other thing