2009年9月27日

什么是扩展方法 (Extension Methods)?

摘要: 英文原文链接:http://weblogs.asp.net/scottgu/archive/2007/03/13/new-orcas-language-feature-extension-methods.aspx 什么是扩展方法(Extension Method):扩展方法允许开发人员往一个现有的CLR类型的公开契约(contract)中添加新的方法,而不用生成子类或者重新编译原来的类型。扩展方法... 阅读全文

posted @ 2009-09-27 17:42 smwikipedia 阅读(1972) 评论(1) 推荐(0) 编辑

导航