Use DirectoryInfo to create sub directory : Directory : File Directory Stream C# Examples


C# Examples » File Directory Stream » Directory »

 

Use DirectoryInfo to create sub directory









    
using  System;
using  System.IO;

public  class  MainClass
{
    static  void  Main(string[]  args)
    {
        DirectoryInfo  MyRoot  =  new  DirectoryInfo(@"c:\projects");
                MyRoot.CreateSubdirectory("MyFolder");
    }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo File Directory Stream
» Directory