In this chapter, you learned how to use file processing to manipulate persistent data. You learned that data is stored in computers as
1s, and that combinations of these values are used to form bytes, fields, records and eventually files. We overviewed several file-processing classes from the
System.IO namespace. You used class
File to manipulate files, and classes
DirectoryInfo to manipulate directories. Next, you learned how to use sequential-access file processing to manipulate records in text files. We then discussed the differences between text-file processing and object serialization, and used serialization to store entire objects in and retrieve entire objects from files.
In Chapter 18, we begin our ...