Home » .Net

List of classes with explanation which are used in file handling in C#

Learn: Classes which are used in C#.Net - file handling with explanation. In this article, we are writing list of the classes which are useful and important for file handling in C#.Net.

Here is the list of some classes which are useful and important in C# for file operations:

  1. BinaryReader
  2. BinaryWriter
  3. BufferedStream
  4. Directory
  5. DirectoryInfo
  6. DriveInfo
  7. File
  8. FileInfo
  9. MemoryStream
  10. Path
  11. StreamReader
  12. StreamWriter
  13. StringReader
  14. StringWriter

1) BinaryReader

This class is used for read data from binary file.

2) BinaryWriter

This class is used to write data into binary file.

3) BufferdStream

This is a temporary storage for a stream of bytes.

4) Directory

This is used for manipulating directory structure.

5) DirectoryInfo

This class is used for performing operations on directories.

6) DriveInfo

Using this class we can get information regarding drive.

7) File

This is used for manipulating data files.

8) FileInfo

This class is used for performing operations on data files.

9) MemoryStreams

This class is used to access data randomly which is stored in memory.

10) Path

This class is used to perform operation on path information.

11) StreamReader

This is used to read characters from byte stream.

12) StreamWriter

This is used to write characters to byte stream.

13) StringReader

This class is used to read data from string buffer.

14) StringWriter

This is used to write data to string buffer.



Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.