Chapter 3. Learning About String Manipulations

In the previous chapter, you learned the basics of how data is stored and managed by .NET, including the difference between value and reference types. .NET has three major data types: number-related, custom-defined, and string. The previous chapter focused on the numberrelated types. This chapter will focus on the string type.

As you'll learn in this chapter, the string type has some special characteristics. If you were to look at the bits and bytes of the string type, you would not realize that they were letters. In an abstract description, a string type is a number type with a special grammar. Since a computer understands only numbers, it uses lookup tables that map a set of letters to a set of numbers. ...

Get Beginning C# 2008: From Novice to Professional 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.