質問編集履歴
1
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,3 +15,27 @@
|
|
15
15
|
|
16
16
|
|
17
17
|
この中にさらにlistを作る方法も教えていただきたいです。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
private List<List<string>> results = new List<List<string>>();
|
24
|
+
|
25
|
+
for( int i = 0; i < 10; i++)
|
26
|
+
|
27
|
+
{
|
28
|
+
|
29
|
+
List<string> clist = new List<string>();
|
30
|
+
|
31
|
+
for(int j = 0; j < 5; j++)
|
32
|
+
|
33
|
+
{
|
34
|
+
|
35
|
+
clist.Add(i.ToString() + j.ToString());
|
36
|
+
|
37
|
+
}
|
38
|
+
|
39
|
+
list.Add(clist);
|
40
|
+
|
41
|
+
}
|