System.IO Classes in C#:
BinaryReader: This class is used to read binary data types from primitive data types. BinaryWriter: The BinaryWriter class is used to write primitive data types to streams in binary format.
File: This class contains many methods for working with files, including as create, deleting, copying, renaming, and move. There are more stuff.