Categories

Problems with formatting

The “official” way to format strings in .NET BCL is to use String.Format method (and wrappers for it, like Console.Write).

image

This is not very reliable method. You can forget to include parameter into the format string or confuse one parameter with another. And your IDE does not offer any help here. (more…)