Explain common Stream types in Net.1. FileStream : Is to read from, write to, open, and close files on a file system. FileStream objects support random access to files using the Seek method.
2. MemoryStream : It creates streams that have memory as a backing store instead of a disk or a network connection. Memory streams can reduce the need for temporary buffers and files in an application.
3. StreamReader : It is meant for character input , whereas the Stream class is meant to perform byte input and output. StreamReader is basically used for reading lines of text from a text file.
4. StreamWriter : It is meant for character output instead of byte output.