📅  最后修改于: 2022-03-11 14:49:16.894000             🧑  作者: Mango
代码示例1
string dir = @"C:\test";
// If directory does not exist, create it
if (!Directory.Exists(dir))
{
Directory.CreateDirectory(dir);
}