CSharp examples for System.IO:DirectoryInfo
Create Dir
using System.IO;/*w w w .j av a 2 s . co m*/ using System; public class Main{ public static void CreateDir(string destDirectory) { if (!string.IsNullOrEmpty(destDirectory) && !Directory.Exists(destDirectory)) { Directory.CreateDirectory(destDirectory); } } }