.NET Base Class Library Overview
The .NET Base Class Library (BCL) contains many functions normally found in language-specific runtime libraries. It is therefore important to understand what classes are available in the BCL.
Numeric types are formatted through the Format() member function of that data type. This can be called directly, through String.Format(), which calls the Format() function of each data type, or through Console.WriteLine(), which calls String.Format().
Adding formatting to a user-defined object is discussed in the “Custom Object Formatting” section later in this chapter. This section discusses ...