O'Reilly logo

Sams Teach Yourself Visual C# 2008 in 24 Hours: Complete Starter Kit by James Foxall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Working with Text Files and the Registry

<feature><title>What You’ll Learn in This Hour</title> <objective>

Using the Registry object to create and delete Registry keys and values

</objective>
<objective>

Using a StreamWriter and StreamReader objects to open, read, and edit text files

</objective>
<objective>

Modifying your Picture Viewer program to use a text file and the Registry

</objective>
</feature>

Text files have been around since the early days of computing, and even today they are a useful method of storing data. For robust applications, a database is the way to go, but for storing simple sets of data, it doesn’t get much easier than using a text file.

By the Way

In the first edition of this book, I neglected to cover working with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required