// 获取当前目录的路径
var path = Directory.GetCurrentDirectory();
Console.WriteLine(path);
// 创建目录
Directory.CreateDirectory(Path.Combine(Directory.GetCurrentDirectory(), "stores","456","newDir"));
// 判断当前目录是否存在
bool doesDirectoryExists = Directory.Exists(Path.Combine(Directory.GetCurrentDirectory(), "stores","456","newDir"));
Console.WriteLine(doesDirectoryExists);
// 创建文件
File.WriteAllText(Path.Combine(Directory.GetCurrentDirectory(), "greeting.txt"), "Hello World!");