September 2002
Intermediate to advanced
496 pages
10h
English
Our next topic, directories and files, is not particularly advanced but is quite fundamental. In this section we will first examine the System.IO.Directory class in the .NET Framework that allows us to work with directories. We will then look at file input and output, which makes use of an intermediary called a stream.
The classes supporting input and output are in the namespace System.IO. The classes Directory and DirectoryInfo contain routines for working with directories. All the methods of Directory are static, and so you can call them without having a directory instance. The DirectoryInfo class contains instance methods. In many cases, you can accomplish the same objective using methods of either class. ...
Read now
Unlock full access