a lot of times, Attributes are used to add metadata to the assembly, class, method,....but the most useful one is called "ContextAttribute" which can be used on classes derived from ContextBoundObject to do AOP-type programming, read Chapter 6 of Inside C# (2nd Edition), it has a good introduction on this topic
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货