Chapter 7. FILE AND STREAM I/O AND OBJECT PERSISTENCE

IN BRIEF

This chapter explains and demonstrates the proper use of file and stream I/O, as well as the related and equally important topic of object persistence.

  • The first section gives you a basic understanding of file I/O and an introduction to the different Stream classes provided in the .NET Framework.

  • The final section gives you an introduction to object persistence.

WHAT YOU NEED

RECOMMENDED SOFTWARE.NET Framework C# .NET environment
RECOMMENDED HARDWARE.NET-enabled desktop client
SKILLS REQUIREDC# coding

FILE AND STREAM I/O AND OBJECT PERSISTENCE AT A GLANCE

File and Stream I/O128  
 Understanding File and Stream I/O129Using the FileSystemWatcher138
 Using Streams: FileStream, MemoryStream, StringReader, and StringWriter132  
Object Persistence142  
 Serializing Objects143Extending Standard Serialization149
Summary152  
Further Reading152  

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

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