Multiple choice technology programming languages

What is the lower bound value of array in VB.NET?

  1. 0

  2. -1

  3. 2

  4. 3

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In VB.NET, all arrays are zero-based by default, meaning the first element is at index 0. This matches the array indexing in most modern programming languages.

AI explanation

In VB.NET, arrays are zero-based by default — the first element is always at index 0, regardless of the array's declared size. This is a change from legacy VB6, which allowed Option Base 1 to shift the lower bound, but VB.NET dropped that flexibility in favor of the standard .NET convention.