📜  file.create 文件夹 c# 代码示例

📅  最后修改于: 2022-03-11 14:49:12.935000             🧑  作者: Mango

代码示例2
Using System.IO; 

//gets the directory where the program is launched from and adds the foldername
string path = Path.Combine(Environment.CurrentDirectory, "foldername");

//Creates a directory(folder) if it doesen't exist
Directory.CreateDirectory(path);