C# Attribute

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.

 

Detail attribute spec, visit here.

你可能感兴趣的:(attribute)