Skip to Main Content
Visual C# 2010 Recipes: A Problem-Solution Approach
book

Visual C# 2010 Recipes: A Problem-Solution Approach

by Allen Jones, Adam Freeman
March 2010
Intermediate to advanced content levelIntermediate to advanced
1016 pages
20h 42m
English
Apress
Content preview from Visual C# 2010 Recipes: A Problem-Solution Approach

Chapter 5. Files, Directories, and I/O

The Microsoft .NET Framework I/O classes fall into two basic categories. First are the classes that retrieve information from the file system and allow you to perform file system operations such as copying files and moving directories. Two examples include the FileInfo and the DirectoryInfo classes. The second and possibly more important category includes a broad range of classes that allow you to read and write data from all types of streams. Streams can correspond to binary or text files, a file in an isolated store, a network connection, or even a memory buffer. In all cases, the way you interact with a stream is the same. This chapter describes how to use the file system classes and a wide range of stream-based ...

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

Introducing Visual C# 2010

Introducing Visual C# 2010

Adam Freeman
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 9781430225256Purchase book