using System; using System.IO; class DirectoryCreation { public static void Main() { string directoryString = Directory.GetCurrentDirectory() + @"\TestDir"; Directory.CreateDirectory (directoryString); Console.WriteLine ("Created: {0}", directoryString); Directory.Delete (directoryString); Console.WriteLine ("Deleted: {0}", directoryString); } }