VB.net - Constants

Constants

A Constant is a memory location used to store data. The value does not change when the program is running.

Identifier

The name given to a variable or constant to that is can be ‘identified’ and used in a program.

Declaring Constants

Constants need to be allocated a space in memory. This is called declaring.

In many languages (including VB.net) you must also declare the type of data that will be stored in the constant.