Lecture overview -- Keyboard shortcut: 'u'  Previous page: Members in class FileInfo -- Keyboard shortcut: 'p'  Next page: Members in class DirectoryInfo -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Input and Output Classes - slide 28 : 40

The Directory and DirectoryInfo classes

The class DirectoryInfo represents a directory

The class Directory holds static methods for creating, moving, and enumerating through directories

A demonstration of the DirectoryInfo class.
Output from the DirectoryInfo demo program.
A demonstration of the Directory class - similar to the DirectoryInfo demo program.
Output from the Directory demo program.
As for File and FileInfo, there is substantial overlap between the classes Directory and DirectoryInfo