摘要: //通过扩展方法 创建一个类似List FindAll方法namespace Blog_ExtensonMethod{ //静态类 public static class ExtensionMethods { //声明一个委托(本次不是重点,后面介绍委托和事件) public delegate bool MyCalcDelegate(T obj); //静态方法 //第一版本 public static List ScreenValueList(this List list, MyCalcDeleg... 阅读全文
posted @ 2013-10-22 22:30 德鑫 阅读(148) 评论(0) 推荐(0)