.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library
by Brad Abrams
System.Diagnostics
The System.Diagnostics namespace was designed to contain classes that allow a program to do profiling, performance monitoring, and error logging. However, these sorts of features depend critically on the implementation of a particular operating system. Since the Standard describes objects that should be common to all operating systems, and diagnostic objects by their very nature can't be, it contains only one class. The operating system for which you actually write code will probably provide many more classes in this namespace, but these will vary widely from one operating system to another.
The common class is called ConditionalAttribute, which derives from System.Attribute. As with all attributes, it represents a read-only ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access