since I understand that any .NET program is compiled into MSIL, which is sent to the CLR, which compiles it to assembler code and runs it with JIT.
I was wondering since .NET is a wrapper around win32 api, and the CLR will eventually convert MSIL to a build program. Is it impossible for me to write some functionality in C #, make it in dll, and then use a tool that makes it a full-fledged .net-independent file for me to use inside unmanaged code, for example, in C or C ++.
Am I talking about Interops and COM? Isn't this idea different from her? My goal is to run the .NET dll on a machine that does not have the .NET framework.
source share