Using Streams in C# System.IO.Stream

Streams using for reading and writing to disk and from disk. Streams are also used to communicate across networks. Network streams are found in the System.Network.Sockets and encrypted streams are found in System.Security.Cryptography. The important thing to remember is to release file using Close method otherwise file will be left locked and not accessible to any other process.