|   | CommonCreate | 
 Syntax
Syntax Remarks
RemarksIt is expected that this function will only be used in Visual Basic.NET.
The Array.CreateInstance provides better performance and more direct CLR access for array creation (not to mention less confusion on the matter of array lengths) in VB.NET, however the returned System.Array is not typed properly. This function properly casts the return array based on the type specification helping when Option Strict is enabled.
 Example
ExampleDim buffer As Byte() = CreateArray(Of Byte)(12) Dim matrix As Integer()() = CreateArray(Of Integer())(10)
 See Also
See Also