If your array is empty, it contains 0 elements and has length 0.
If your array has 1 element in 0 index, then its length is equal to 1.
If your array has 2 elements in 0 and 1 indexes, then its length is equal 2.
and so on…
5
solved C# does array.length start from 0?