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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.