Where would you use C# Runtime Compilation?

前端 未结 7 1345
余生分开走
余生分开走 2021-02-20 05:34

I happened upon a brief discussion recently on another site about C# runtime compilation recently while searching for something else and thought the idea was interesting. Have

7条回答
  •  醉话见心
    2021-02-20 06:01

    Typically, I see this used in cases where you are currently using Reflection and need to optimize for performance.

    For example, instead of using reflection to call method X, you generate a Dynamic Method at runtime to do this for you.

提交回复
热议问题