VB.NET Multidimensional Arrays

Tutorials Shared by the Internet Community


VB.NET Multidimensional Arrays

The benefit of using multidimensional arrays is that they are conceptually easier to manage.


  • Total Hits - 34901

  • Total Votes - 125 votes

  • Vote Up - 55 votes

  • Vote Down - 70 votes

  • Domain - visualbasic.w3computing.com

  • Category - Visual Basic/Basic Concepts

  • Submitted By - Matt Watson

  • Submitted on - 2011-09-30 18:00:50


The benefit of using multidimensional arrays is that they're conceptually easier to manage. Suppose that you're writing a game and want to track the positions of certain pieces on a board. Each square on the board is identified by two numbers: its horizontal and vertical coordinates. The obvious structure for tracking the board's squares is a two-dimensional array, in which the first index corresponds to the row number, and the second corresponds to the column number.    More detail...

Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down