CSharp examples for File IO:Directory
create a directory
using static System.Console; using static System.IO.Directory; using static System.IO.Path; using static System.Environment; class Program// www . jav a 2s. c o m { static void Main(string[] args) { string dir = "aDir"; // WriteLine("Creating it..."); CreateDirectory(dir); WriteLine($"Does it exist? {Exists(dir)}"); } }