Object's GetType Method : GetType « Development « VB.Net






Object's GetType Method

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


           
       








Related examples in the same category

1.Get data type full name for any objectGet data type full name for any object
2.Use Type.GetType to get type informationUse Type.GetType to get type information
3.Get Variable TypeGet Variable Type
4.Array.CreateInstance(GetType(Integer), 11) to create ArrayArray.CreateInstance(GetType(Integer), 11) to create Array