5. Oktober 2006

Arrays in VB.net

As a c and c# programmer i think i will never learn it: in vb.net, arrays (e.g. stringarrays) start by default with the index 0 and end with the dimensionparameter. So, a ReDim a(6) creates an array from a(0) to a(6), so it contains 7 (!) elements.

Hopefully, i learned the lesson now...

Keine Kommentare: