Chapter 17. Files and Streams

 

I can only assume that a “Do Not File” document is filed in a “Do Not File” file.

 
 --Senator Frank Church Senate Intelligence Subcommittee Hearing, 1975
 

Consciousness ... does not appear to itself chopped up in bits. ... A “river” or a “stream” are the metaphors by which it is most naturally described.

 
 --William James
 

I read part of it all the way through.

 
 --Samuel Goldwyn
<feature> <supertitle>Objectives</supertitle>

In this chapter you’ll learn:

<objective>

To create, read, write and update files.

</objective>
<objective>

To use classes File and Directory to obtain information about files and directories on your computer.

</objective>
<objective>

To use LINQ to search through directories.

</objective>
<objective>

To ...

Get Visual C# 2010: How to Program, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.