Working with Directories in C#

By Mahesh Chand on Jul 17, 2012
The System.IO.Directory class in the .NET Framework class library provides static methods for creating, copying, moving, and deleting directories and subdirectories. In this book, we will learn how to work with directories and subdirectories using C# and .NET.
  • 7 Pages
  • 9951 Downloaded
  • PDF
Download This E-Book Now
Intoduction:

Input and output (I/O) streaming is a process of reading data from and writing data to a storage medium. In the .NET Framework, the System.IO namespace and its sub namespaces contain the classes and other types to perform I/O operations.

The Directory class in the .NET Framework class library provides static methods for creating, reading, copying, moving, and deleting directories.

This book covers the following topics:

  • Understand the Directory class
  • Directory properties
  • How to create a directory
  • How create a subdirectory
  • How to read all directory and directories
  • How to read all files in a directory
  • How to move a directory
  • How to delete a directory

 

 


Comment Using

Startup Conference 2016

MOST DOWNLOADED

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Startup Conference 2016