+92 332 4229 857 99ProjectIdeas@Gmail.com

Type of an instance (Vb.net)


How to get the type of any instance(i.e. variable)
GetType() function will return the type of any instance.

Example
Dim x As Double = Nothing
MsgBox(x.GetType.FullName)
MsgBox(x.GetType.Name)

Output
First message box will display System.Double
Second message box will display Double

0 comments: