Interview answers verified by specialists.
Find interview questions and answers on this website:
• The file system classes are separated into two types of classes: information and utility. • Information classes derive from the FileSystemInfo base class. • Information Classes exposes all the system information about file system objects like files, directories and drives and named as FileInfo and DirectoryInfo classes. • DriveInfo class cannot derive from the FileSystemInfo class; it is an information class which represents a drive in the file system. • The utility classes have static methods to perform function on file system objects such as file system paths and Directories. • System.IO namespace contains collection of classes for files, drives and directories.