Using a 2D array:
How do I set Cells2 equal to Cells1 but as a new instance? (So if I modify Cells2, Cells1 won't be affected.)Code:Public Shared Cells1 As Boolean(,) Public Shared Cells2 As Boolean(,)
sets both arrays to the same instance,Code:Cells2 = Cells1
gives me a syntax error, andCode:Cells2 = New Boolean(,) {Cells1}
acts like the first string of code.Code:Cells2 = New Boolean(,) {} Cells2 = Cells1
How do I get this to work as expected? Thanks in advance.
~Nic