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