📅  最后修改于: 2022-03-11 14:56:14.529000             🧑  作者: Mango
string fileName = @"test.txt";
string currentDirectory = Directory.GetCurrentDirectory();
string[] fullFilePath = Directory.GetFiles(currentDirectory, filename, SearchOption.AllDirectories);