Computer Science, asked by Ayesharimmo, 1 year ago

how will you declare variables in visual basic 2010?

Answers

Answered by Anirban1108
2
We will declare variables as A, B, C.....etc.

Hope it helps

Ayesharimmo: Thanks
Anirban1108: Welcome
Ayesharimmo: Variables are memory locations where data is stored temporarily. Right?
Anirban1108: Correct
Answered by siddhartharao77
6

Visual basic 2010:

We can declare variables with a dim statement.

Syntax:

Dim VariableName as Data Type1, Dim VariableName as DataType2...

Example:

Dim Name as String

Assigning values to variables:

Dim Name as String = "Siddhartha".

<!Hope it helps!>

Similar questions