- Get link
- X
- Other Apps
using System.IO;
...
...
DirectoryInfo di = new DirectoryInfo(Environment.CurrentDirectory ); FileInfo[] rgFiles = di.GetFiles("*.pdf"); foreach (FileInfo fi in rgFiles) { console.Write(fi.Name); }
using System.IO;
...
...
DirectoryInfo di = new DirectoryInfo(Environment.CurrentDirectory ); FileInfo[] rgFiles = di.GetFiles("*.pdf"); foreach (FileInfo fi in rgFiles) { console.Write(fi.Name); }
Comments