March 2002
Intermediate to advanced
864 pages
31h 8m
English
IFormattable
This interface is implemented in your objects to provide a
custom ToString() method
that accepts a format string and an
IFormatProvider instance. You can then use
this information to determine how the return string should be rendered.
All numeric value types in the System namespace
implement this interface.
public interface IFormattable { // Public Instance Methods public method string ToString(string format, IFormatProvider formatProvider); }
Multiple types