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.
Shows how to manually iterate through a directory tree.
Shows how to retrieve information such as creation times and size, about files, folders and drives.
Shows how to create a new file or folder.
Shows how to copy, delete and move files and folders.
Shows how to display a standard Windows progress dialog for certain file operations.
Shows how to write to a text file.
Shows how to read from a text file.
Shows how to retrieve text from a file one line at a time.
Shows how to write a key to the system registry.