File and stream I/O in C Sharp

The C# programming language provides many classes and methods to perform file and stream input and output.

The most common stream classes used for file and stream I/O within the .NET Framework are listed below:

ClassFunction
FileStreamReading and writing to a standard file
IsolatedStorageFileStreamReading and writing to a file in isolated storage
MemoryStreamReading and writing to memory modeled as a stream
BufferedStreamReading and writing to a stream using buffered I/O for improved thread performance
NetworkStreamReading and writing to network sockets
PipeStreamReading and writing over anonymous and named pipes
CryptoStreamLinking data streams to cryptographic transformations

References

  • "File and Stream I/O". MSDN Developer's Network. Retrieved 26 February 2014.