Mega Code Archive

 
Categories / VB.Net / Reflection
 

Create a Type object that represents a two-dimensional array of Example objects

Imports System Imports System.Reflection Imports Microsoft.VisualBasic Public Class Example     Public Shared Sub Main()         Dim t = GetType(Example).MakeArrayType(2)         Console.WriteLine(vbCrLf & "Two-dimensional array of Example: " & t.ToString())     End Sub End Class