0

this is my first question here on SO. I have been a long time reader, you all do great stuff!

What is the difference between:

Dim myArray() as Type

and;

Dim myArray as Type()

I have seen many examples that use these different notations and when I look at MSDN documentation it is always shown as the first example.

Is this just a user preference? Is there some underlying operation happening that I am not aware? Visual studio seems to treat them separately, but i read them as being "[variable] array of type" and "[variable] of type array". The second being a bit confusing.

Hopefully this isn't a duplicate question, and thanks for the help in advance.

0 Answers0