質問編集履歴
1
わかりずらい点があったため、先頭にループ文を追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,15 +13,18 @@
|
|
13
13
|
|
14
14
|
|
15
15
|
```ここに言語を入力
|
16
|
+
for(int i=0;i<3000;i++){
|
17
|
+
FileName=List[i];
|
16
|
-
using (OpenFileDialog openFileDialog = new OpenFileDialog())
|
18
|
+
using (OpenFileDialog openFileDialog = new OpenFileDialog())
|
17
|
-
{
|
19
|
+
{
|
18
|
-
|
20
|
+
openFileDialog.FileName =FileName;
|
19
|
-
|
21
|
+
using (StreamReader readCsvObject = new StreamReader(openFileDialog.FileName))//この行の時間がかかる
|
20
|
-
|
22
|
+
{
|
21
|
-
|
23
|
+
while (!readCsvObject.EndOfStream)
|
22
|
-
|
24
|
+
{
|
23
|
-
|
25
|
+
var readCsvLine = readCsvObject.ReadLine();
|
24
|
-
|
26
|
+
}
|
27
|
+
}
|
25
28
|
}
|
26
29
|
}
|
27
30
|
```
|