MSIL的优点解释 [英] MSIL Advantages Explanation

查看:71
本文介绍了MSIL的优点解释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计。



希望你做得很好。我已经看到/听到了首先将c#(或vb.net)代码转换为MSIL的以下优点< br $>






1)资源管理

2)对象生命周期管理< br $>
3)反思

4)Typesafe

5)调试选项





我是对的,任何人都可以在前两点点亮(或解释)吗?

提前谢谢。

Hey Guys.

Hope you are doing great.I have seen/heard the followings advantages of first converting c#(or vb.net) code to MSIL



1)Resource Management
2)object life time management
3)Reflection
4)Typesafe
5)Debugging options


am i right and can anybody put some light(or Explain) in first two points ?
Thanks in advance.

推荐答案

1,2都与MSIL无关,因为它们在内部由CLR(公共语言运行时)和BCL(基类库)处理,所以没有任何好处。



通常,除非您正在进行运行时代码生成或逆向工程,否则不需要知道IL。
Both 1,2 have nothing to do with MSIL and there is no benefit since they are handled by the CLR (common language runtime) and BCL (base class libraries) internally.

Generally you don't need to know IL unless you are doing runtime code generation or reverse engineering.


这篇关于MSIL的优点解释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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