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