Between the following options, which is the preferred syntax for declaring arrays in VB.NET?
Dim numbers1() As Integer
vs.
I'll chime in here.
I've seen more of style 1 in code than style two, however there are some minor odd inconsistencies with syntax when it comes to properties.
My theory is the reason the parentheses after is preferred is to make it more consistent with declaring a property that is an array
Public Property x As Integer() 'is an array
Public Property y() As Integer 'is NOT an array
That being said...use Lists :)