Declaring Arrays In VB.NET

How to use Declaring Arrays?

Explanation

Declaring Arrays in VB.net 2008

Arrays is a construct used to store multiple values of same data type that can be accessed using an index value. Arrays in VB.net 2008 are different since it contains exactly the same number of elements that are declared unlike in VB6 which will have one element more.
Arrays in VB.net are declared using the Dim statement, but by using the access specifiers Public, Private, Static, Protected the scope of usage of arrays can be controlled within the code.

Following are the basic types of arrays used in VB.net

Visual Basic Tutorial


Ask Questions

Ask Question