Strings

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The .NET Framework provides the Char structure to represent a Unicode character and the String class to represent a sequence of Char values. In addition to the members of these two types, the .NET Framework enables you to format objects (that is, to convert values to their string representations), to parse strings (that is, to convert strings to non-string values), to work with text by using various encodings, and to search for patterns in blocks of text.

In This Section