C H A P T E R 20
File I/O and Object Serialization
When you create desktop applications, the ability to save information between user sessions is imperative. This chapter examines a number of I/O-related topics as seen through the eyes of the .NET Framework. The first order of business is to explore the core types defined in the System.IO
namespace and learn how to modify a machine’s directory and file structure programmatically. The next task is to explore various ways to read from and write to character-based, binary-based, string-based, and memory-based data stores.
After you learn how to manipulate files and directories using the core I/O types, you will examine the related topic of object serialization. You can use object serialization ...
Get Pro C# 5.0 and the .NET 4.5 Framework, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.