O'Reilly logo

Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition by Andrew Troelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. File I/O and Isolated Storage

When you are creating full-blown 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 come to understand how to programmatically modify a machine's directory and file structure. 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.

Once you have learned to manipulate files and directories using the core I/O types, you will then be introduced to the topic of isolated storage (via the System.IO.IsolatedStorage ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required