No no. If you know that the line you are processing is a name (or, rather, a sequence of human names separated by spaces), you should be able to independently encode it in one for loop and using Char.ToUpper . However, there are cultural-specific cases such as the Arabic words bin, al, etc. Used in names that should not be capitalized (using Latin transcription). The same applies to "background" or "van" in Western languages.
Update: Please note that TextInfo.ToTitleCase has a different purpose - it is not intended to smooth out the first letters of human names, but to provide a proper cover for headings (for example, headings of news articles).
Although the current .NET implementation can easily serve the requested purpose, I would not. The reason is that the implementation may change significantly in the future, and therefore it is safer to make an individual implementation for human names. Moreover, I doubt that this method is really applicable for title lines of lines in relation to this culture. For example, in Czech ( "cs-CZ" ), the correct title should use only the first letter of the first word.
Ondrej Tucny Feb 20 '11 at 15:07 2011-02-20 15:07
source share