17 Files and Streams

Objectives

In this chapter you’ll:

  • Create, read, write and update files.

  • Use classes File and Directory to obtain information about files and directories on your computer.

  • Use LINQ to search through directories.

  • Become familiar with sequential-access file processing.

  • Use classes FileStream, StreamReader and StreamWriter to read text from and write text to files.

  • Use classes FileStream and BinaryFormatter to read objects from and write objects to files.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset