ways of declaring a variable in vb.net code example Example: visual basic how to declare a variable Dim intNumber1 As Integer