Is your collection only going to contain single numbers? If so, use an array instead of a collection and you can copy that easily enough.
Regarding your error: h.Add a.Item(x)
or use a For Each loop, but you'll still need h.Add
|
Results 1 to 8 of 8
Thread: How to copy an object?Hybrid View
|
Click Here to Expand Forum to Full Width |