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

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