Unmanaged code is the underpinning of traditional Windows applications which
contain x86 machine code wrapped up in Win32's PE (portable executable)
format.
Managed code is the stuff of applications that run under the .Net platform's
CLR (common language runtime). Those applications contain MS Intermediate
Language (MSIL) which is compiled on the fly (or less often at
installation).