C # in a Nutshell, Second Edition

The FCL provides rich support for text. Important types include the System.String class for handling immutable strings, a StringBuilder class that provides string-handling operations with support for locale-aware comparison operations and multiple string encoding formats (ASCII, Unicode, UTF-7, and UTF-8), as well as a set of classes that provide regular expression support (see Chapter 6).

For more information, see the following namespaces:

System.Text System.Text.RegularExpressions

An important related type in another namespace is System.String .

Категории