Streams
Using streams for I/O is a familiar model for Java programmers. The .NET Framework embraces the same approach, with a number of subtle differences. The most important change is that a stream can be used for both reading and writing data, in contrast with Java, which separates these operations by using input and output streams (and readers and writers since Java version 1.1).
The .NET stream classes are fewer in number than the Java equivalents, partly because of the bidirectional support and partly because .NET doesn’t offer the same range of specialized streams found in the java.io package. Java version 1.1 introduced the reader and writer classes, and this has further increased the number of choices for the programmer.
The Foundation of ...
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.
Read now
Unlock full access