Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 list(of someclass) 来跟踪一个模拟数据数组,以便以后在程序中使用 .add() 属性。当我这样做时,我总是会取回最后输入的项目。
Dim lst as new list(of superclass) Dim work as new list(of superclass)
程序执行以在存储之前填充工作。
Lst.add(work)
然后列出清单
For each wrk in lst Print(lst) Next
尝试打印wrk而不是lst.
wrk
lst