Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.04 KB

File metadata and controls

41 lines (30 loc) · 1.04 KB

Array2

Shows how to use System.Array.GetLowerBound and System.Array.GetUpperBound methods.

Sources

Build and run with Visual Studio Poject

Open Array2.csproj

Build and run with CMake

To build this project, open "Terminal" and type following lines:

mkdir build && cd build
cmake ..
start Array2.sln

Select Array2 project and type Ctrl+F5 to build and run it.

Output

The Array has 3 dimension(s) and a total of 24 elements.
        Length  Lower   Upper
0:      2       0       1
1:      3       0       2
2:      4       0       3
The Array contains the following values:
        0       1       2       3
        10      11      12      13
        20      21      22      23
        100     101     102     103
        110     111     112     113
        120     121     122     123