Arrays

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

abc123ben

Established Member
Impact
2
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.
 
Last edited:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back