NamespaceSystem.IO CreatableNo DescriptionThe Directory class has a number of members that allow you to retrieve information about directories, to move and delete a directory, and to create a new directory. All of the members of the Directory class are shared methods, so they can be called without instantiating any objects. For example, use the following statement to call the CreateDirectory method: Directory.CreateDirectory("C:\projects\project1") The following table lists some of the more useful and interesting members of the Directory class. Those marked with an asterisk (*) have separate entries in this chapter.
Version Differences
See AlsoFile Class |