Namespace: System.Text
Provides fundamental classes and base classes for manipulating strings and byte arrays, and for converting between strings and byte arrays.
Namespace: System.Text
Assembly: System.Text.Native.dll, System.Runtime.dll
Classes
Encoding
Represents a character encoding. Encoding is a mechanism that maps a set of characters to a sequence of bytes. Encoding objects are used to convert strings to byte arrays and byte arrays to strings.
Decoder
Converts a sequence of bytes in a specified encoding to a sequence of characters.
Encoder
Converts a sequence of characters to a sequence of bytes in a specified encoding.
StringBuilder
Represents a mutable sequence of characters. This class cannot be inherited.
ASCIIEncoding
Represents the ASCII (American Standard Code for Information Interchange) character encoding.
UTF8Encoding
Represents the UTF-8 encoding of the Unicode character set. UTF-8 is a variable-length encoding that uses one to four bytes per character.