Array Dimension

Discussion in 'ASP .Net' started by Shapper, Jun 7, 2005.

  1. Shapper

    Shapper Guest

    Hi,

    I have declared an array as follows:
    Dim MyArray As Integer = {1, 2, 3}

    How can I get the dimension of the array so I can use it in a Select
    Case?

    Thanks,
    Miguel
    Shapper, Jun 7, 2005
    #1
    1. Advertising

  2. GetUpperBound

    David Anton
    www.tangiblesoftwaresolutions.com
    Home of the Instant C# VB.NET to C# converter
    and the Instant VB C# to VB.NET converter

    "Shapper" wrote:

    > Hi,
    >
    > I have declared an array as follows:
    > Dim MyArray As Integer = {1, 2, 3}
    >
    > How can I get the dimension of the array so I can use it in a Select
    > Case?
    >
    > Thanks,
    > Miguel
    >
    >
    =?Utf-8?B?RGF2aWQgQW50b24=?=, Jun 8, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Larry Lindsey
    Replies:
    5
    Views:
    531
    Mike Wahler
    Sep 27, 2003
  2. James
    Replies:
    11
    Views:
    93,890
    yousafzai
    Jun 4, 2011
  3. Adam Hartshorne

    Multi-Dimension Array Question

    Adam Hartshorne, Jun 8, 2005, in forum: C++
    Replies:
    6
    Views:
    2,139
  4. Makiyo
    Replies:
    3
    Views:
    532
    Richard Heathfield
    Feb 22, 2004
  5. Luuk
    Replies:
    15
    Views:
    817
    Nobody
    Feb 11, 2010
Loading...

Share This Page