透过IL看C#:switch语句(转)
摘要:透过IL看C# switch语句(上)摘要: switch语句是 C#中常用的跳转语句,可以根据一个参数的不同取值执行不同的代码。本文介绍了当向 switch语句中传入不同类型的参数时,编译器为其生成的 IL代码。这一部分介绍的是,在 switch语句中使用整数类型和枚举类型的情况。switch语句...
阅读全文
posted @ 2014-05-15 17:12
posted @ 2014-05-15 17:12
posted @ 2013-12-17 20:20
多谢分享,逆向时刚好用到。