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