Using Attributes for Documentation in C# [closed]
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . In the MSDN Attributes Tutorial they use Author as an example for an attribute: [Author("Jane Programmer", Version = 2), IsTested()] class Order { // add stuff here ... } This seemed to me to be a good idea because it would allow you to use reflection to group classes by author