Collecting Data into Files ........................................................................CD43
Using StreamWriter ........................................................................CD45
Improving your reading speed and
comprehension through StreamReader ...................................CD50
Bonus Chapter 3: Stepping through Collections . . . . . . . . . . . . . . .CD55
Iterating through a Directory of Files ....................................................CD55
Writing Your Own Collection Class: The Linked List ...........................CD62
An example linked-list container ..................................................CD63
Why bother with a linked list? ......................................................CD73
Iterating foreach Collections: Iterators .................................................CD73
Accessing a collection: The general problem .............................CD74
Letting C# access data foreach container ...................................CD76
Accessing Collections the Array Way: Indexers ...................................CD77
Indexer format ................................................................................CD78
Example indexer program .............................................................CD78
Looping around the Iterator Block ........................................................CD82
Iterating days of the month: A first example ..............................CD87
What’s a collection, really? ...........................................................CD89
Iterator syntax gives up so easily .................................................CD90
Iterator blocks of all shapes and sizes ........................................CD92
Where to put your iterator ............................................................CD95
Bonus Chapter 4: Using the Visual Studio Interface . . . . . . . . . . . .CD99
Customizing the Window Layout .........................................................CD100
Examining the window display states .......................................CD100
Hiding a window ...........................................................................CD103
Rearranging windows ..................................................................CD103
Stacking windows .........................................................................CD105
More cool nifties, ’er, “productivity tools” ................................CD106
Stirring the Solution Explorer ...............................................................CD107
Simplifying life with projects and solutions ..............................CD107
Displaying the project ..................................................................CD108
Multisourcing your way to success: Adding a class ................CD111
Completing the example classes ................................................CD112
Converting classes into a program ............................................CD115
Considering What Code Should Look Like .........................................CD116
Getting Help — Quickly! ........................................................................CD120
F1 Help ...........................................................................................CD120
Index Help .....................................................................................CD122
Search Help ...................................................................................CD124
More Help goodies .......................................................................CD125
“Auto list members” Help ............................................................CD126
“De”-Debugging Windows .....................................................................CD127
Your program has bugs: It’s time to call the exterminator! ....CD128
Learning the single-step dance ...................................................CD130
Let me break my point .................................................................CD134
Operator, trace that call stack! ...................................................CD137
“It’s soup” ......................................................................................CD138
xvii
Table of Contents
02_597043 ftoc.qxd 9/20/05 1:05 PM Page xvii