1 file
2 code
1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Reflection; 6 using System.Text; 7 using System.Threading.Tasks; 8 9 namespace ConsoleApplication14 10 { 11 class Program 12 { 13 static void Main(string[] args) 14 { 15 string[] path = Directory.GetFiles(@"D:\用户目录\我的文档\visual studio 2015\Projects\ConsoleApplication14\ConsoleApplication14\bin\Debug\1", "*.dll"); 16 foreach (var item in path) 17 { 18 Console.WriteLine(item); 19 } 20 Console.ReadKey(); 21 } 22 } 23 }
3 show
时间: 2024-10-21 10:44:52