B
Brian
The following code produces the following results.
Sub Main()
Dim abc As String = "This is a string"
Dim int123 As Integer = 123
Debug.Print(abc)
Debug.Print(abc.GetType.ToString)
Debug.Print(int123)
Debug.Print(int123.GetType.ToString)
End Sub
This is a string
System.String
123
System.Int32
Is there a function that would return the variable name?
Such as abc and int123.
Kind regards.
Sub Main()
Dim abc As String = "This is a string"
Dim int123 As Integer = 123
Debug.Print(abc)
Debug.Print(abc.GetType.ToString)
Debug.Print(int123)
Debug.Print(int123.GetType.ToString)
End Sub
This is a string
System.String
123
System.Int32
Is there a function that would return the variable name?
Such as abc and int123.
Kind regards.