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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.