You can embed unsafe C++ directly into the C# code ,
which will be unmanaged , which will be directly
compiled , but unsafe , but that 's what you want
This completely wrong.
The C# compiler cannot compile to unmanaged (native) code.
Using unsafe is only an indication to the compiler that you are
(voluntarily) using unsafe constructs, but the resulted assembly will be
MSIL only.