The Visual Basic .NET Coach 1
Chapter 3 – Performing Operations and Storing the Results
3.1 Variables
Visual Basic .NET allows you to store values in a variable. Creating a variable requires the same specifications as creating an object. You must allocate the appropriate amount of space and associate a name and data type for it. To reference the stored value throughout the program you must give variable a valid variable name. You must select from a list of variable data types indicating to Visual Basic .NET how much space to allocate and how to process and display the variable.