What’s In This Chapter?
Wrox.com Code Downloads for This Chapter
The wrox.com code downloads for this chapter are found at www.wrox.com/go/professionalcsharp6 on the Download Code tab. The code for this chapter is divided into the following major examples:
Strings have been used consistently since the beginning of this book, as every program needs strings. However, you might not have realized that the stated mapping that the string keyword in C# actually refers to is the System.String .NET base class. String is a very powerful and versatile class, but it is by no means the only string-related class in the .NET armory. This chapter begins by reviewing the features ofString and then looks at some nifty things you can do with strings using some of the other .NET classes—in particular those in the System.Text and System.Text.RegularExpressions namespaces. This chapter covers the following areas: