It has several classes like below:
BinaryReader: Reads primitive data types as binary values in a specific encoding.
BinaryWriter: Writes primitive data in binary format.
Directory: Used for creating,moving and manupulating Directory.
FileStream: Used to read from and write to any location in a file.
MemoryStream: Used for random access to streamed data stored in memory.
Path: It is used to get file path.
StreamWriter: It is used for writing characters to a stream in a particular encoding.
Asked In: Many Interviews |