Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
Naming Guidelines
 Attribute Naming Guidelines
.NET Framework General Reference
Attribute Naming Guidelines

You should always add the suffix Attribute to custom attribute classes. The following is an example of a correctly named attribute class.

[Visual Basic]
Public Class ObsoleteAttribute
[C#]
public class ObsoleteAttribute{}

See Also

Design Guidelines for Class Library Developers

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker