Chapter 5. C# Text Manipulation and File I/O
Topics in This Chapter
Characters and Unicode: By 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 Overview: In .NET, strings are immutable. To use strings efficiently, it is necessary to understand what this means and how immutability affects string operations.
String Operations: In addition to basic string operations, .NET supports advanced formatting techniques for numbers and dates.
StringBuilder: The
StringBuilder
class offers an efficient alternative to concatenation for constructing screens.Regular Expressions: The .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.