File System and the Registry (C# Programming Guide)

The following topics show how to use C# and the .NET Framework to perform various basic operations on files, folders, and the Registry.

In This Section

Title Description
How to: Iterate Through a Directory Tree Shows how to manually iterate through a directory tree.
How to: Get Information About Files, Folders, and Drives Shows how to retrieve information such as creation times and size, about files, folders and drives.
How to: Create a File or Folder Shows how to create a new file or folder.
How to: Copy, Delete, and Move Files and Folders (C# Programming Guide) Shows how to copy, delete and move files and folders.
How to: Provide a Progress Dialog Box for File Operations Shows how to display a standard Windows progress dialog for certain file operations.
How to: Write to a Text File Shows how to write to a text file.
How to: Read From a Text File Shows how to read from a text file.
How to: Read a Text File One Line at a Time Shows how to retrieve text from a file one line at a time.
How to: Create a Key In the Registry Shows how to write a key to the system registry.

File and Stream I/O

How to: Copy, Delete, and Move Files and Folders (C# Programming Guide)

C# Programming Guide

Files, Folders and Drives

System.IO