Facilities to Work with Text

Use of text is everywhere. It’s what the user often enters in input fields, what gets read from files and various other data sources, and so on. Having means to convert back and forth between text and other values is an essential API capability. In addition, rich formatting capabilities are most welcome, too, helping with localization of your applications. In this section, we look at all of this, as well as at various other means to deal with text, such as regular expressions and encoding schemes.

Get C# 4.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.