Damn you VB.net!!!!
In general, while i really don’t like programming in VB.net, when i have to i’m relatively ok with it, minus a little bitching just on principle. Mostly it’s just confusing because its syntax is like no normal programming language. But today I found out how to declare an array, and it is retarded.
In c and c++ you would do:
int numberArray[10];
and in c#, it’s essentially the same:
int[10] numberArray;
But in the wonderful VB:
dim numberArray(9) as Int32
Ignoring the annoying “dim name as type” syntax, you declare the array based on the highest index in the array, not based on the size of the array. That’s just so weird and non-intuitive.