摘要: 由于传统的反射性能不是很好,所以许多高手都想尽方法提高反射的性能以下DynamicUtilites编是其中一个(和.net4.0中的那个Dynamic反射不同)首先在项目中添加DynamicUtilites项目DynamicUtilites项目下有三个文件 Dynamic.csDynamicComparer.csDynamicEmit.cs如果由于精力有限无法了解该反射辅助类的具体实现原理,请大家原谅 ^^,大致是将原有反射代码的封装和优化,有空我会去了解下该辅助类的源码以下简单介绍如何使用该反射类先建立一个ICallable接口,注意是泛型接口s代码Code highlighting pro 阅读全文
posted @ 2010-06-14 17:58 逆时针の风 阅读(1555) 评论(1) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace LmbdaText 7 { 8 class Program 9 { 10 staticint[] numbers =newint[]{5,3,4,2,1,... 阅读全文
posted @ 2010-06-05 13:10 逆时针の风 阅读(1545) 评论(3) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.Linq;using System.Xml;using System.Xml.Linq;na 阅读全文
posted @ 2010-06-01 17:43 逆时针の风 阅读(1988) 评论(1) 推荐(2) 编辑