Using C/inline assembly in C#

前端 未结 2 1197
礼貌的吻别
礼貌的吻别 2021-01-31 05:12

Is there some method of using C source mixed with inline asm (this is not C++ code) in a C# app? I\'m not picky about how it gets done, if it requires compiling the C/

2条回答
  •  無奈伤痛
    2021-01-31 05:44

    Using inline assembly in C# is not a good idea.

    The concept of.NET IL is to be portable.

    Of you use online assembly then your code will not run on machines with different architecture such as ARM.

提交回复
热议问题