Visual Basic What is wrong with the following dimension Dim
Visual Basic
What is wrong with the following dimension: Dim intOne as Integer == 12
Solution
Dim intOne as Integer == 12
-The problem with the code is you are using \'==\' instead of \'=\'
-Variables are declared in this manner :
Dim intOne as Integer = 12
You can see more examples also :
Dim studenNumber As Integer = 101
Dim studentName As String = \"Walter White\"
**If you have any query , please feel free to comment with details.
**Happy learning :)