摘要: 1. 类方法与扩展方法的区别: TestClass test = null ; test.ExtendMethod() ; //扩展方法不报错, 可以在方法里判断对象是否为空。 public static T FuncReturnSelf<T>(this T Self, string param) 阅读全文
posted @ 2011-10-31 10:40 NewSea 阅读(1089) 评论(0) 推荐(1) 编辑