什么是学习CIL最好的资源(MSIL) [英] What are the best resources for learning CIL (MSIL)

查看:127
本文介绍了什么是学习CIL最好的资源(MSIL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是专家C#3 / .NET 3.5程序员希望开始做使用System.Reflection.Emit.DynamicMethod一些运行时的codeGEN。我很乐意起来,成为非常熟悉IL移动到一个新的水平。

I'm an expert C# 3 / .NET 3.5 programmer looking to start doing some runtime codegen using System.Reflection.Emit.DynamicMethod. I'd love to move up to the next level by becoming intimately familiar with IL.

任何指针(双关语意)?

Any pointers (pun intended)?

推荐答案

要学习它的最好办法,就是给你写明白了点什么,然后看它创造了IL。此外,根据你在做什么,你可以使用EX pression树,而不是发射IL,然后当你编译EX pression树,那些聪明的家伙在微软创建IL为雅。

The best way to learn it, is to write something you understand, then look at the IL it created. Also, depending on what you are doing, you can use expression trees instead of emitting IL, and then when you compile the expression trees, those smart guys at microsoft create the IL for ya.

这篇关于什么是学习CIL最好的资源(MSIL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆