In addition to the Stream and Writer/Reader classes discussed so far, .NET Framework also provides a very powerful set of classes for encapsulating information and functionality that are suitable for processing files and directories. These classes, which also reside in the System.IO namespace, are listed in Table 3-4.
Now let's see just what these classes can provide for us and how best to utilize them.
|FileSystemInfo||The abstract base class for FileInfo and DirectoryInfo objects, this class contains methods that are common to both file and directory manipulation. As this is the base class for both, it is useful when writing polymorphic code that must ...|