Chapter 5. C# Text Manipulation and File I/O

Topics in This Chapter

  • Characters and UnicodeBy default, .NET stores a character as a 16-bit Unicode character. This enables an application to support international character sets—a technique referred to as localization.

  • String OverviewIn .NET, strings are immutable. To use strings efficiently, it is necessary to understand what this means and how immutability affects string operations.

  • String OperationsIn addition to basic string operations, .NET supports advanced formatting techniques for numbers and dates.

  • StringBuilderThe StringBuilder class offers an efficient alternative to concatenation for constructing screens.

  • Regular ExpressionsThe .NET Regex class provides an engine that uses regular ...

Get Core C# and .NET 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.