Skip to Content
Microsoft® .NET Kick Start
book

Microsoft® .NET Kick Start

by Hitesh Seth
December 2003
Intermediate to advanced content levelIntermediate to advanced
504 pages
10h 42m
English
Sams
Content preview from Microsoft® .NET Kick Start

Working with Input/Output Streams

The System.IO namespace provides classes for reading and writing data into and from streams, including files, network streams, and so on. The Stream class provides an abstract representation of sequence of bytes. Typically you would work with a reader/writer pair of classes, which provide methods to read and write primitive typed and/or string to/from the stream. For example, the BinaryReader/BinaryWriter and StreamReader/StreamWriter classes provide reading/writing binary data and text, respectively. Additionally, StringReader/StringWriter classes provide reading/writing from a string, typically useful for manipulating in memory data. Apart from that, the System.IO namespace provides Directory, DirectoryInfo, ...

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

Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
C# 4.0 Unleashed

C# 4.0 Unleashed

Bart De Smet

Publisher Resources

ISBN: 0672325748Purchase book