Language Basics C# Tutorial

A variable is a named memory location that can be assigned a value.
To declare a variable, you will use a statement like this:

type var-name;
type specifies the type of variable being declared
var-name is the name of the variable.