Is it possible to check and see what data type a variable is in a conditional statement?
Ex:
Dim x as Integer = 1
If x Is Integer Then
MessageBox.Show("Int")
Else
MessageBox.Show("Other")
End IF
Thanks,
-Patrick
|
Results 1 to 14 of 14
Threaded View
|
Click Here to Expand Forum to Full Width |