+1 vote
in C Sharp by
What are C# I/O classes? What are the commonly used I/O classes?

1 Answer

0 votes
by

C# has System.IO namespace, consisting of classes that are used to perform various operations on files like creating, deleting, opening, closing, etc.

Some commonly used I/O classes are:

  • File – Helps in manipulating a file.
  • StreamWriter – Used for writing characters to a stream.
  • StreamReader – Used for reading characters to a stream.
  • StringWriter – Used for reading a string buffer.
  • StringReader – Used for writing a string buffer.
  • Path – Used for performing operations related to the path information.

Related questions

0 votes
asked Aug 10, 2021 in AWS Access Management by rajeshsharma
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
...