Skip to Main Content
C# 6.0 and the .NET 4.6 Framework, Seventh Edition
book

C# 6.0 and the .NET 4.6 Framework, Seventh Edition

by Andrew Troelsen, Philip Japikse
December 2015
Intermediate to advanced content levelIntermediate to advanced
1704 pages
43h 12m
English
Apress
Content preview from C# 6.0 and the .NET 4.6 Framework, Seventh Edition

CHAPTER 20

image

File I/O and Object Serialization

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.

After you learn how to manipulate files and directories using the core I/O types, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 8 and .NET Core 3.1 Recipes (2nd Edition) - Second Edition

C# 8 and .NET Core 3.1 Recipes (2nd Edition) - Second Edition

Dimitiris Loukas
C# 6.0 in a Nutshell, 6th Edition

C# 6.0 in a Nutshell, 6th Edition

Joseph Albahari, Ben Albahari

Publisher Resources

ISBN: 9781484213322Purchase book