摘要:
扩展方法是C# 3.0(老赵对VB不熟)中最简单,也是最常用的语言特性之一。这是老赵自以为的一个简单却不失经典的实例:[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]public class AttachDataAttribute : Attribute{ public AttachDataAttribute(object key, object value) { this.Key = key; this.Value = value; } public object Ke... 阅读全文
posted @ 2013-08-26 15:33
技术广场
阅读(322)
评论(0)
推荐(0)

浙公网安备 33010602011771号