Skip to content
David Cumps
Exam 70-536 - Input/Output

Exam 70-536 - Input/Output

Originally published on my old blog at cumps.be on August 27, 2008.

I finished another chapter in my book, Input/Output, which covers the following:

Implementing serialization and input/output functionality in a .NET Framework application

One nice thing I learned is how easily you can compress and decompress data.

More importantly, it’s so easy because of the central role streams play in the framework. Once you get your head around streams, it’s easy to use various kinds of them, like FileStream and MemoryStream, to get things done.

Another best practice I picked up: stop writing application-specific configuration data to .xml or .ini files and store it in isolated storage instead. It’s the new registry! :)

Besides the basic fundamentals of working with streams and the nice features you basically get for free once you know how to work with them, there are also some helper classes to work with the file system: File and FileInfo, Directory and DirectoryInfo, DriveInfo, FileSystemWatcher and Path.

You May Also Like