Abstract
When you create desktop applications, the ability to save information between user sessions is commonplace. 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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Andrew Troelsen and Philip Japikse
About this chapter
Cite this chapter
Troelsen, A., Japikse, P. (2017). File I/O and Object Serialization. In: Pro C# 7. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3018-3_20
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3018-3_20
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3017-6
Online ISBN: 978-1-4842-3018-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)