Compartilhar via


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 (C# Programming Guide)

Shows how to manually iterate through a directory tree.

How to: Get Information About Files, Folders, and Drives (C# Programming Guide)

Shows how to retrieve information such as creation times and size, about files, folders and drives.

How to: Create a File or Folder (C# Programming Guide)

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 (C# Programming Guide)

Shows how to display a standard Windows progress dialog for certain file operations.

How to: Write to a Text File (C# Programming Guide)

Shows how to write to a text file.

How to: Read From a Text File (C# Programming Guide)

Shows how to read from a text file.

How to: Read a Text File One Line at a Time (Visual C#)

Shows how to retrieve text from a file one line at a time.

How to: Create a Key In the Registry (Visual C#)

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

File System and the Registry (C# Programming Guide)

System.IO