Hour 9. Using Strings and Regular Expressions

What You’ll Learn in This Hour

Strings

Mutable strings using StringBuilder

Type formatting

Regular expressions

As computer programming has evolved from being primarily concerned with performing complex numeric computations to providing solutions for a broader range of business problems, programming languages have shifted to focus more on string data and the manipulation of such data. String data is simply a logical sequence of individual characters. The System.String class, which encapsulates the data manipulation, sorting, and searching methods you most commonly perform on strings, enables C# to provide rich support for string data and manipulation.

Tip: String or string?

In C#, string ...

Get Sams Teach Yourself C# 5.0 in 24 Hours 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.