Hour 21. Programming with Attributes
What You’ll Learn in This Hour
• Using the caller info attributes
In Hour 1, “The .NET Framework and C#,” you learned that C# supports component-oriented programming by enabling you to create assemblies that are self-contained, self-documenting, redistributable units of code. Metadata specifies how the types, properties, events, methods, and other code elements relate to one another. Attributes enable you to add additional metadata to an assembly, providing a way of associating declarative information with your code. Attributes are compiled and stored in the resulting common intermediate ...
Get Sams Teach Yourself C# 5.0 in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.