大丈夫このリストを持っている:
object[] test;
test[0]=null;
....
test[8700]=null;
test[8701]= object[]
....
test[9431]= object[]
object []は、true/false/nullのいずれかの値を持つ別のリストです。
私はこの配列をヌルなしの値だけを含むlist/dictinaryに変換する必要があります:
Dictionary dic = new Dictionary;
または
list sectまたはs= new list()
where sectまたは looks like this
Sectまたは{(int)id,(List)products}
Product{(int)id}
これを行うには最高の/最も賢い方法は何でしょうか?
前もって感謝します