asp.net arrays
Hello - me again!
Okay... I am learning ASP.NET from a book and just want to make sure I'm on the right tracks.
So imagine I created an array like: Dim intArray() As Integer = {{1,2}, {2,3}} and I used a variable: Dim intArrayA As Integer
intArrayA = intArray(0,1) which would mean that intArrayA has the value 2? And it would be the same kind of deal if I did this instead: intArrayA(1,1) which would have the value 3?
Okay. If that is the case if I made a new array like: Dim newArray(1,2) would it be newArray(1, 2) = {{1, 2}, {1, 2, 3}}
I'd appreciate any help on this
.
Cheers.
Hello - me again!
Okay... I am learning ASP.NET from a book and just want to make sure I'm on the right tracks.
So imagine I created an array like: Dim intArray() As Integer = {{1,2}, {2,3}} and I used a variable: Dim intArrayA As Integer
intArrayA = intArray(0,1) which would mean that intArrayA has the value 2? And it would be the same kind of deal if I did this instead: intArrayA(1,1) which would have the value 3?
Okay. If that is the case if I made a new array like: Dim newArray(1,2) would it be newArray(1, 2) = {{1, 2}, {1, 2, 3}}
I'd appreciate any help on this
Cheers.
Last edited:






