What is the maximum number of elements (upper bound) that a dimension of an array can have?
Printable View
What is the maximum number of elements (upper bound) that a dimension of an array can have?
You can "only" have a little more than 2 billion elements in your array, according to this quote from MSDN Library:
And an array can have up to 60 dimensions.Quote:
The upper bound cannot exceed the range of a Long data type (-2,147,483,648 to 2,147,483,647)