As Windows understands that the startup file is intended for .net framework but does not contain machine code instructions?

Became an interesting mechanism to run executables. The Internet was not able to find an affordable answer.
June 7th 19 at 14:36
1 answer
June 7th 19 at 14:38
Wikipedia: .NET, metadata and PE format

Platform .NET Microsoft has extended the PE format with features which support the common language runtime (Common Language Runtime — CLR). Among the additions — the CLR header and CLR data section. After downloading the binary file the bootloader will execute the CLR via the link in the import table of the PE/COFF. The CLR then loads the CLR header and data sections.

A little more in the English version:
In a .NET executable, the PE code section contains a stub that invokes the CLR virtual machine startup entry, _CorExeMain or Either in mscoree.dll, much like it was in Visual Basic executables.

Find more questions by tags Windows.NET