for example:
Dim files() As String = Directory.GetFiles("C:/")
Dim files As String() = Directory.GetFiles("C:/")
what different of them??
thanks you
for example:
Dim files() As String = Directory.GetFiles("C:/")
Dim files As String() = Directory.GetFiles("C:/")
what different of them??
thanks you
They produce exactly the same thing - just two alternative forms of declaration.
The two are identical. If you use Reflector, you can see that they are compiled to the same IL:
.field private string[] files