ファイル一覧の取得
1 2 |
DirectoryInfo di = new DirectoryInfo(@"C:\tmp"); List<System.IO.FileInfo> files = di.GetFiles("*.*").OrderBy(f => f.Name).ToList(); |
1 2 |
DirectoryInfo di = new DirectoryInfo(@"C:\tmp"); List<System.IO.FileInfo> files = di.GetFiles("*.*").OrderBy(f => f.Name).ToList(); |