需要动态多维列表

编程入门 行业动态 更新时间:2024-10-25 04:23:15
本文介绍了需要动态多维列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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.

更多推荐

需要动态多维列表

本文发布于:2023-07-31 15:39:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1260006.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多维   动态   列表

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!