I am trying to copy an Array(of Class) to another Array(of Class). The Class really just holds 3 values together, so it's basically a string. I thought just something like this would work
But that literally makes Array1 access the contents of 2, but I want it to be a separate copy. I'm currently using a simple loop procedure to copy contents but I was hoping there was a command for it. I looked at .Item but there didn't seem to be anything there. Anyone have a solution?Code:Dim Array1 as Array(of Class) = Array2 'also tried Dim Array1 as New Array(of Class) Array1 = Array2




button on their post and leave them a comment to let them know they did a good job
Reply With Quote