What's different between Dim files() As String and Dim files As String()?

后端 未结 4 1954
抹茶落季
抹茶落季 2021-01-05 09:17

In this code:

Dim files() As String = Directory.GetFiles(\"C:/\")

Dim files As String() = Directory.GetFiles(\"C:/\")

is there a differenc

4条回答
  •  心在旅途
    2021-01-05 09:55

    They produce exactly the same thing - just two alternative forms of declaration.

提交回复
热议问题