本文介绍了需要动态多维列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi, I am looking to store my data that is not in a fixed format in an array or list but as array is of fixed size so cant use that, list provides flexibility but it doesnt comes with multi dimensions option like array does.. I had a data like: "Acids", "A1", "A2", "A3" - this could grow to ph4 till ph 10 depends "Sulphur" "S1", "S2", - this could grow to ph4 till ph 0 depends "Carbon" "c1", C2" can grow depends also after storing it in the list i also need to retrieve in a way that in a loop i should get first Acids then all its sub components that is A1, A2, A3, once done then move to Sulphur and get its corresponding components. Please can anyone suggest anything on how to best deal with this.
我尝试了什么: i尝试使用列表和数组但没有得到很多帮助
What I have tried: i tried using the lists and arrays but not getting much help
推荐答案你了已经在动态多维列表 - C#讨论板上发布了这个问题[ ^ ]。请不要交叉,它重复努力和浪费时间。 You already posted this question at Dynamic Multi dimensional list - C# Discussion Boards[^]. Please do not crosspost, it duplicates effort and wastes time.
更多推荐
需要动态多维列表
发布评论