Announcement

Collapse
No announcement yet.

(Josh) ASP.NET Arrays

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • (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.

  • #2
    Can't speak about ASP.net but from my C / C++ / C# / VB / HTML / Java programming knowledge it sounds logical.

    The best way with programming is always to try and put it in the compiler then debug it. And don't forget just because it compiles doesn't mean that it has worked!! .
    David Smith
    Managing Director
    DPS Computing Limited

    - Massive update! (September 2011) - It's now not neglected!!
    - New Site (10/2009)

    Comment

    Working...
    X