InteropServices namespace provides members that support COM interop and platform invoke services.
The .NET Framework allows interaction with COM components, COM+ services and external type libraries.
Managed code executes under the control of the runtime.
Unmanaged code runs outside the runtime. COM components, ActiveX interfaces, and Win32 API functions are examples of unmanaged code.