ふらっと C#,C♯,C#(初心者用) Part120 [無断転載禁止]©5ch.io
■ このスレッドは過去ログ倉庫に格納されています
0485デフォルトの名無しさん
2016/05/16(月) 23:55:33.39ID:OVbXuDaHやれるでしょうか?アドバイスお願いします。
List<List<int>> IntList = new List<List<int>>() {
new List<int>() { 1, 3, 5, 7, 9 },
new List<int>() { 2, 4, 6 },
new List<int>() { 3, 6, 9, 12, 15, 18 }
};
List<int> te = new List<int>();
List<List<int>> te2 = new List<List<int>>();
te = IntList[1];
te2[0].Add = te;//エラーになる
te = IntList[2];
te2[1].Add = te;//エラーになる
■ このスレッドは過去ログ倉庫に格納されています