Streams and I/O

The FCL provides good support for accessing the standard input, output, and error streams. Classes are also provided for performing binary and text file I/O, registering for notification of filesystem events, and for accessing a secure user-specific storage area known as Isolated Storage (see Chapter 10).

For more information, see the following namespaces:

System.IO
System.IO.IsolatedStorage

An important related type in another namespace is System.Console.

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.