Jerry,
>Is there any reason you wouldn't run into the same issue in C#?
Yes, in C# (and other C style languages) the number inside the square
brackets indicate the array length. So new int[10] gives you an array
of 10 elements, index 0-9.
In VB it works like Jay said, the number you provide specifies the
upper bound. So New Integer(10) {} has 11 elements, index 0-10.
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.