【发布时间】:2010-09-17 15:09:07
【问题描述】:
另外:
[DefaultValue(100)]
[Description("Some descriptive field here")]
public int MyProperty{get; set;}
还有哪些C# Attributes 对Properties 有用,学完这些我感觉自己错过了。
相关问题
【问题讨论】:
-
这与 Mitchel Sellers 刚刚在问题中提出的链接非常接近。接下来是有用的属性或类。枚举等:P
标签: c# properties attributes