Get Variable Type : GetType « Development « VB.Net






Get Variable Type

Get Variable Type
Imports System


Public Class MainClass

   Shared Sub Main()
      Console.WriteLine((4 / 2).GetType())
   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.Object's GetType MethodObject's GetType Method
4.Array.CreateInstance(GetType(Integer), 11) to create ArrayArray.CreateInstance(GetType(Integer), 11) to create Array