PART II
Exploring the C# Library

CHAPTER 21
Exploring the System
Namespace

CHAPTER 22
Strings and Formatting

CHAPTER 23
Multithreaded Programming,
Part One

CHAPTER 24
Multithreading, Part Two:
Exploring the Task Parallel
Library and PLINQ

CHAPTER 25
Collections, Enumerators,
and Iterators

CHAPTER 26
Networking Through the
Internet Using System.NET

Part II explores the C# library. As explained in Part I, the class library used by C# is the .NET Framework class library. As a result, the material in this section applies not only to C#, but to the .NET Framework as a whole.

The .NET Framework class library is organized into namespaces. To use a portion of the library, you will normally import its namespace by including a using directive. Of course, you can also fully qualify the name of the item with its namespace name, but most often, it is simply easier to import the entire namespace.

The .NET library is very large, and it is beyond the scope of this book to examine each part of it. (A complete description would easily fill a very large book!) Instead, Part II examines several core elements of the library, many of which are contained in the System namespace. Also discussed are the collection classes, multithreading, and networking.


NOTE The I/O classes are discussed in CHAPTER 14.