is "dim x() as byte" equivalent to "dim x as byte()"?
vb.net
Solution
They're exactly the same, and you can see that if you examine them with Reflector. They both compile to the same IL.
See also this question, which is identical if you change `Byte` to `String`.
Problem
Possible Duplicate: What’s different between Dim files() As String and Dim files As String()? Are these two statements equivalent? They seem to behave the same, but is there a difference in the resulting "x"? ``` Dim x() As Byte Dim x As Byte() ```