This documentation is archived and is not being maintained.

Introduction to Attributes

Visual Studio .NET 2003

C# provides a mechanism for defining declarative tags, called attributes, which you can place on certain entities in your source code to specify additional information. The information that attributes contain can be retrieved at run time through reflection. You can use predefined attributes or you can define your own custom attributes. This section provides a general introduction to attributes in C#; for more detailed information, refer to 17. Attributes.

See Also

C# Attributes | 17. Attributes | Attributes Tutorial | Platform Invoke Tutorial