Page 5 : 40
Object-oriented Programming in C#
Input and Output Classes
* Streams
The Stream Concept
The abstract class Stream in C#
The most important members in class Stream
Subclasses of class Stream
Example: Filestreams
The using control structure
More FileStream Examples
Readers and Writers in C#
The class Encoding
Sample use of class Encoding
The class TextWriter
StreamWriter Examples
Members in class StreamWriter
The class TextReader
StreamReader Examples
Members in class StreamReader
The class BinaryWriter
BinaryWriter Members
The class BinaryReader
Members in class BinaryReader
The classes StringReader and StringWriter
The Console class
Members in the Console class
* Directories and Files
The File and FileInfo classes
Members in class FileInfo
The Directory and DirectoryInfo classes
Members in class DirectoryInfo
* Serialization
Serialization
Examples of Serialization in C#
Custom Serialization
Considerations about Serialization
Serialization and Alternatives
Attributes
* Patterns and Techniques
The Decorator Pattern
The Decorator Pattern at Run Time
The Decorator Pattern and Streams
Subclasses of class Stream
There exists a number of non-abstract subclasses of
Stream
in the namespace
System.IO
and in other namespaces
System.IO.FileStream
Provides a stream backed by a file from the operating system
System.IO.BufferedStream
Encapsulates buffering around another stream
System.IO.MemoryStream
Provides a stream backed by RAM memory
System.Net.Sockets.NetworkStream
Encapsulates a socket connection as a stream
System.IO.Compression.GZipStream
Provides stream access to compressed data
System.Security.Cryptography.CryptoStream
Write
encrypts and
Read
decrypts
And others...