 | Formatting Enumeration Constants Enumerations provide useful groupings of named, numeric constants that can enhance the readability of source code. When the constants need to be outputted they may be formatted as numbers or strings, with various available options. |
 | Getting a Base Exception When using a pattern where caught exceptions are wrapped within new exceptions and rethrown, it may be necessary to examine the originating exception object. The Exception class includes a method that makes this simple to achieve. |
 | Generic Variance in .NET 4.0 With the release of .NET 4.0, Microsoft introduced covariance and contravariance to generic interfaces and delegates. Generic variance allows conversion and interchangeability of types in a logical manner that was not previously possible. |
 | IDisposable and Thread Safety The IDisposable interface should be applied to classes that hold unmanaged resources, either directly or indirectly. When developing using parallel programming or multi-threading techniques, IDisposable should be implemented in a thread-safe manner. |
 | .NET Math Library The .NET framework includes a class named "Math", which provides a number of standard mathematical functions, using static methods, and mathematical values, using simple constants. This article describes all of the Math class members. |
 | C# Runtime Compilation The .NET framework includes classes that allow the code generator and compiler to be controlled from within an assembly. This allows C# source code, held in a string array, to be compiled at run time and executed using basic reflection techniques. |
 | String.IsNullOrWhiteSpace When working with user input it is common to check that a string has been provided. With the .NET framework version 4.0, a single method can be used to determine whether such a string is null, empty or contains only white space characters. |
 | Assembly Information .NET framework assemblies can include a number of assembly attribute values that are shown when viewing the properties of the executable file or DLL. These properties can be set using Visual Studio tools or in the source code. |
 | The Generic Predicate Delegate The generic Predicate delegate represents a method or function that accepts an object of any type and returns a Boolean result. It is often used to define a set of criteria for filtering collections such as arrays and generic lists. |
 | The BigInteger Structure Under some circumstances the standard integer data types provided by the .NET framework provide a range of values that is restrictive. The BigInteger structure, introduced in version 4.0 of the framework, removes the size limits. |