What is the difference between Dim v As String() and Dim v() As String?

前端 未结 7 956
北恋
北恋 2020-11-27 08:03

This may sound trivial, but what is the difference between

Dim v As String()

and

Dim v() As String

in VB.

7条回答
  •  攒了一身酷
    2020-11-27 08:56

    There is no difference.

    Both Dim v As String() and Dim v() As String will create a string array

提交回复
热议问题