1,083,429 Pages
Welcome! Enter your question below. Please use words like "Who, What, Where, When, Why, How, etc..." in your question. Nothing to ask? Click here for a random, un-answered question.

One defines variables in Visual Basic.NET as follows, replacing the "name" and "type."

Dim name As type

You can also insert the value, such as in the following, also replacing "value."

Dim name As type = value

An example follows.

Dim theAnswertoLifetheUniverseandEverything As Integer = 42

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.