August 2003
Intermediate to advanced
928 pages
32h 1m
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 string ToString(stringformat, IFormatProviderformatProvider); }
Multiple types