brainleak
Well-known member
Hello, this is my very first post here.
I have been using VB6 for the last few years and I have recently decided to move on to .Net so I'm trying to learn the new features.
In VB6 I would sometimes use the ReDim statement for 2 dimensional arrays like this:
but this doesn't work in vb.net so, what would be a way around?
I have been using VB6 for the last few years and I have recently decided to move on to .Net so I'm trying to learn the new features.
In VB6 I would sometimes use the ReDim statement for 2 dimensional arrays like this:
VB.NET:
Dim myVar As Double
'...
nCols = 8
nRows = 5
'...
ReDim MyVar(nRows, nCols)
'...
but this doesn't work in vb.net so, what would be a way around?