📜  c# 创建文件夹 - C# 代码示例

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

代码示例1
string path1 = @"C:\temp\";
string path2 = Path.Combine(path1, "temp1");

// Create directory temp1 if it doesn't exist
Directory.CreateDirectory(path2);