The .NET compiler generated metadata descriptions for all defined and reference types. However, developer can integrate additional metadata into an assembly using attributes. So attributes are like an adjectives, which are used for metadata annotation similar to COM IDL that can be applied to a given type, assembly, modules, methods etc… The .NET framework stipulates two types of attributes implementations Predefined Attributes and Custom Attributes.
Attributes are type's derived from the System.Attribute class. This is an abstract class defining the required services of any attribute. Here is the syntax of an attribute as following;
Ajay YadavPosted Oct 27, 2014, 9:58 PM
Attributes are type's derived from the System.Attribute class. This is an abstract class defining the required services of any attribute. Here is the syntax of an attribute as following;
[ Type: attributeName(parameter1, parameter2,………n)]
Yadagiri ReddyPosted Oct 27, 2014, 3:32 PM
http://msdn.microsoft.com/en-in/library/aa287992(v=vs.71).aspx