Directory creation
In this chapter you will learn:
Create sub directory
using System;//j a va2s . c om
using System.IO;
public class MainClass
{
static void Main(string[] args)
{
DirectoryInfo MyRoot = new DirectoryInfo(@"c:\projects");
MyRoot.CreateSubdirectory("MyFolder");
}
}
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » File, Path