View Single Post
  #1 (permalink)  
Old 29-11-2007, 14:06
Ben Ben is offline
Premium Member
 
Join Date: Jan 2007
Location: United Kingdom
Posts: 632
Send a message via AIM to Ben Send a message via MSN to Ben Send a message via Yahoo to Ben
Default (Josh) ASP.NET Arrays

Hello,

Well not sure if anyone else knows about ASP.NET but I am reading an ASP.NET book I have, and I just want to clarify something.

Okay. Imagine I created an array:

Code:
Dim arrayOne(1, 2) As Integer
I understand that this is a two dimentional array, but I am still a bit confused. Like Dim arrayOne(2) would let us have 3 values (arrayOne(2) = {1, 2, 3}) but if it is a two dimentional array, then it must be like this, right? (arrayOne(1, 2) = {{0, 1}, {0, 1, 2}}) - I am sure I am correct because it makes sense now. Let me know .

Cheers,
Ben.
Reply With Quote