[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides functionality to format the value of an object into a string representation.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
The interface converts an object to its string representation based on a format string and a format provider.
The interface defines a single method, ToString, that supplies formatting services for the implementing type. The ToString method can be called directly. In addition, it is called automatically by the and methods, and by methods that use the composite formatting feature in the .NET Framework. Such methods include , , and , among others. The ToString method is called for each format item in the method's format string.
The interface is implemented by the base data types.