且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在VB.Net中排列对象

更新时间:2022-06-22 10:21:49

首先,为什么要使用数组而不是动态容器?其次,如果您创建对象数组,这并不意味着对象在那里,它们将被设置为Nothing,并且需要在将每个对象添加到数组时创建它们.最后,如果您有错误,请向我们发布实际错误,而不是您对错误的理解.这样,我们就能真正了解发生了什么.
First of all, why use an array and not a dynamic container ? Second, if you create an array of objects, that doesn''t mean that the objects are there, they will be set to Nothing and you need to create each object as you add it to the array. Finally, if you have errors, post the actual error to us, not your understanding of it. That way, we can actually understand what''s going on.