使用扩展方法

在.net framework2.0中使用扩展方法

添加以下定义即可

namespace System.Runtime.CompilerServices
{
    public class ExtensionAttribute : Attribute { }
}

 

posted @ 2014-12-09 09:28  Kimsoft  阅读(79)  评论(0)    收藏  举报