C# consists of System.IO namespace which has classes that compute and perform various operations on files like creating, deleting, opening
and closing etc.
Few commonly used I/O classes are listed below :
File : Helps in manipulating file.
StreamWriter : Generally used for writting characters to a stream.
StreamReader : Generally used for reading characters to a stream.
StringWriter : Used for writing a string buffer.
Stringreader : Used for reading a string buffer.