Object's GetType Method
Imports System Public Class MainClass Shared Sub Main() Dim c As Integer Console.WriteLine(c.GetType()) Console.WriteLine(c.GetType().ToString) End Sub End Class
1. | Get data type full name for any object | ||
2. | Use Type.GetType to get type information | ||
3. | Get Variable Type | ||
4. | Array.CreateInstance(GetType(Integer), 11) to create Array |