Summary

This chapter covered the System.String class in detail: It is used to create formatted strings and locate substrings. You gained an understanding of the inefficiencies of multiple string creation due to the immutability of managed strings. These inefficiencies lead to the usage of the StringBuilder class for more efficient string construction. Finally, you explored the very powerful features of regular expressions and the varied use for which they can be applied.

Get Microsoft® Visual C#® .NET 2003 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.