This article explains about Attributes and it's advantages in C#. It also explains about how to create custom attributes and how to retrieve attribute value in C#.
This article provides information about C# attributes to interoperate with COM components.