3. Variables

This tutorial will help you understand what a variable is, how to create a variable and how they can be used. Most new programmers will look at a variable and think “What is the point in that, it’s useless!”. When you get further into programming you will appreciate the variable for what it is and you will find yourself using variables in every application that you create.


Public Class Form1

    Dim messagecontent As String = "Variables are so cool"
    Dim mynumber As Integer = 10

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    End Sub

End Class