📅  最后修改于: 2022-03-11 14:58:50.498000             🧑  作者: Mango
代码示例3
using System.IO;
string[] filePaths = Directory.GetFiles(@"c:\MyDir\");
// returns:
// "c:\MyDir\my-car.BMP"
// "c:\MyDir\my-house.jpg"