.NET IO - 1 ( Creating and Deleting Files and Directories and Listing subfiles and subdirectories )
There are advanced classes in .NET for IO processing. Even though we
have some classes that allow us to carry out low level IO operations,
we can usually do our work with several static methods. Now let's see
how a directory and a file is created, deleted and how directory
hierarchy in a disk volume or in a directory can be displayed in tree
view. Although IO operations are same in all .NET projects, to make
easier our article I use ASP.NET. Hence you can easily copy and paste
code below in, for example, WPF. Classes, we will use, are: