[Previous] [Contents] [Next]

Summary

C# attributes provide a mechanism for annotating types and members at design time with information that can later be retrieved at run time through reflection. This gives you the ability to create truly self-contained, self-describing components without having to resort to stuffing necessary bits into resource files and constants. The advantage is a more mobile component that is both easier to write and easier to maintain.

[Previous] [Contents] [Next]