0534デフォルトの名無しさん (ワッチョイ 4f02-YkAg)垢版 | 大砲2019/11/09(土) 16:40:40.94ID:Xnyz1DqK0 IEnumerable<string> ReadFilePaths(string filePath) { /* 再起なしでファイルパスをすべて読み取る */ } IEnumerable<string> ReadFilePathsRecursive(string filePath) => ReadFilePaths(filePath) .SelectMany(i => ReadFilePathsRecursive(i)) .Append(filePath) ; はい