Advertisement

Pro C# 7 pp 755-801 | Cite as

File I/O and Object Serialization

  • Andrew Troelsen
  • Philip Japikse
Chapter

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.

Copyright information

© Andrew Troelsen and Philip Japikse 2017

Authors and Affiliations

  • Andrew Troelsen
    • 1
  • Philip Japikse
    • 2
  1. 1.MinneapolisUSA
  2. 2.West ChesterUSA

Personalised recommendations