Create empty array from System.Type

Create from Element Type

Function createEmptyArray(elementType As System.Type) As Array
    Return Array.CreateInstance(elementType, 0)
End Function

Create from Array Type

Function createEmptyArray(arrayType As System.Type) As Array
    Return Array.CreateInstance(arrayType.GetElementType, 0)
End Function