
.NET Formatting Reference Sheet
Various native .NET framework types include an overloaded version of the ToString method that accepts a format string. This reference sheet provides a list of standard formats and custom format specifiers for numeric types, DateTimes, GUIDs and enums.
Reference Sheet
This reference sheet contains the available standard format codes and custom format specifiers for several standard .NET framework types. Standard and custom formatting codes are provided for the numeric types, with examples for integers and doubles. The standard and custom formats for DateTime values are included, as are the format options for Globally Unique Identifiers and enumerations. All of these format codes are for use with the ToString method.
12 October 2010