Hi,
The code which runs directly under the control of code manager in CLR is called managed code. So the Garbage collector will take care of memory deallocation,providing security etc.
Then what about the unmanaged code like if pointers are used using the keyword Unsafe within the code. How the memory is deallocated for the same, because all the unmanaged code is executed under the control of operating system.
Thanks,
Prathap.