📜  c#代码示例获取目录中的文件夹

📅  最后修改于: 2022-03-11 14:48:40.181000             🧑  作者: Mango

代码示例3
string[] folders = System.IO.Directory.GetDirectories(@"C:\My Sample Path\","*", System.IO.SearchOption.AllDirectories);