arrayVariable() As Object vs. arrayVariable As Object() – not the same in Property declaration?
Until today, I thought that the following two notations are the same (edit: Dim was replaced by Property ) Property arrayVariable() As Object Property arrayVariable As Object() Today I found that former one throws error Option Strict On disallows late binding. while the latter compiles OK in expression dictionary1.TryGetValue(CStr(arrayVariable(0)), result) . Please what is the difference between them? I would always use the second notation if it also allowed to specify the array dimensions. It doesn't, so I stuck with the first form (less clean one, because part of type specification -