質問編集履歴
1
わかりずらい点があったため、先頭にループ文を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,23 +28,29 @@
|
|
28
28
|
|
29
29
|
```ここに言語を入力
|
30
30
|
|
31
|
-
|
31
|
+
for(int i=0;i<3000;i++){
|
32
32
|
|
33
|
-
|
33
|
+
FileName=List[i];
|
34
34
|
|
35
|
-
|
35
|
+
using (OpenFileDialog openFileDialog = new OpenFileDialog())
|
36
36
|
|
37
|
-
|
37
|
+
{
|
38
38
|
|
39
|
-
|
39
|
+
openFileDialog.FileName =FileName;
|
40
40
|
|
41
|
-
|
41
|
+
using (StreamReader readCsvObject = new StreamReader(openFileDialog.FileName))//この行の時間がかかる
|
42
42
|
|
43
|
-
|
43
|
+
{
|
44
44
|
|
45
|
-
|
45
|
+
while (!readCsvObject.EndOfStream)
|
46
46
|
|
47
|
+
{
|
48
|
+
|
49
|
+
var readCsvLine = readCsvObject.ReadLine();
|
50
|
+
|
47
|
-
}
|
51
|
+
}
|
52
|
+
|
53
|
+
}
|
48
54
|
|
49
55
|
}
|
50
56
|
|