Global Attributes (C# Programming Guide)
Most attributes are applied to specific language elements such as classes or methods; however, some attributes are global—they apply to an entire assembly or module. For example, theattribute can be used to embed version information into an assembly, like this:
Global attributes appear in the source code after any top-level using directives and before any type or namespace declarations. Global attributes can appear in multiple source files, but the files must be compiled in a single compilation pass.
These are some frequently used .NET Framework assembly-level attributes:
These attributes are used in projects based on the Visual Studio
AssemblyInfo.cs, which includes these attribute instantiations:
[assembly: AssemblyTitle("WindowsApplication1")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("WindowsApplication1")] [assembly: AssemblyCopyright("Copyright © Microsoft 2005")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
Assembly-level attributes are ignored if you are not creating an assembly.