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 and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 28 : 40
Object-oriented Programming in C#
Input and Output Classes
The Directory and DirectoryInfo classes

The class DirectoryInfo represents a directory

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

/user/normark/oop-csharp-1/sources/c-sharp/io/directory-info-demo/directory-info.csA demonstration of the DirectoryInfo class.

/user/normark/oop-csharp-1/sources/c-sharp/io/directory-info-demo/output-directory-infoOutput from the DirectoryInfo demo program.

/user/normark/oop-csharp-1/sources/c-sharp/io/directory-demo/directory.csA demonstration of the Directory class - similar to the DirectoryInfo demo program.

/user/normark/oop-csharp-1/sources/c-sharp/io/directory-demo/output-directoryOutput from the Directory demo program.

As for File and FileInfo, there is substantial overlap between the classes Directory and DirectoryInfo