O'Reilly logo

Sams Teach Yourself Visual C# 2008 in 24 Hours: Complete Starter Kit by James Foxall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Performing File Operations

<feature><title>What You’ll Learn in This Hour</title> <objective>

Using the OpenFileDialog and SaveFileDialog controls

</objective>
<objective>

Manipulating files with System.IO.File

</objective>
<objective>

Manipulating directories with System.IO.Directory

</objective>
</feature>

It’s difficult to imagine any application other than a tiny utility program that doesn’t use the file system. In this hour, you learn how to use controls to make it easy for a user to browse and select files. In addition, you learn how to use the System.IO.File and System.IO.Directory objects to manipulate the file system more easily than you might think. Using these objects, you can delete files and directories, move them, rename them, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required