<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_潇湘隐者_分类_.NET CLR</title><id>http://feed.cnblogs.com/blog/u/57955/category/276664/rss</id><updated>2012-06-03T14:25:28Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kerrycode/category/276664.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/57955/category/276664/rss"/><entry><id>http://www.cnblogs.com/kerrycode/archive/2010/12/23/1915007.html</id><title type="text">编译器处理while，for结构的小发现</title><summary type="text">在做一个日报自动报表发送项目时，因为项目是Windows服务，而且报表是每天自动发送，所以里面有这么一个函数偶然情况下让我发现了一个让我觉得比较有趣的问题：我用.NET Reflector工具查看项目的exe文件时候，发现里面的这段代码变成了下面的样子代码反编译的IL代码如下：代码看来编译的时候，编译器把while(true)转换成了goto结构，以前见过一片文章介绍goto结构在程序开发中的优劣，高德纳也曾为迪杰斯对goto语句的批评而辩护过，看来在开发过程中适当的、少量的使用goto结构也是有利于提高效率的，要不编译器也不会做这样的处理，接下来我试验了下，对for， while结构中对br</summary><published>2010-12-23T09:39:00Z</published><updated>2010-12-23T09:39:00Z</updated><author><name>潇湘隐者</name><uri>http://www.cnblogs.com/kerrycode/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kerrycode/archive/2010/12/23/1915007.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kerrycode/archive/2010/12/23/1915007.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kerrycode/archive/2010/12/23/1914870.html</id><title type="text">C#的逆向工程-IL指令集【转载】</title><summary type="text">一些 IL 语言解释：跳转指令集合Public field Static Beq 如果两个值相等，则将控制转移到目标指令。Public field Static Beq_S 如果两个值相等，则将控制转移到目标指令（短格式）。Public field Static Bge 如果第一个值大于或等于第二个值，则将控制转移到目标指令。Public field Static Bge_S 如果第一个值大于或等于第二个值，则将控制转移到目标指令（短格式）。Public field Static Bge_Un 当比较无符号整数值或不可排序的浮点型值时，如果第一个值大于第二个值，则将控制转移到目标指令。Pub</summary><published>2010-12-23T07:15:00Z</published><updated>2010-12-23T07:15:00Z</updated><author><name>潇湘隐者</name><uri>http://www.cnblogs.com/kerrycode/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kerrycode/archive/2010/12/23/1914870.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kerrycode/archive/2010/12/23/1914870.html"/><content type="html"/></entry></feed>
