Computing - C# Variables Annotations

Declaring Variables

Variable declaration
A variable called number1 is created to hold a whole number.

Assignment

Variable assignment
The literal value 6 is placed in the variable called number1.

Declaring and Assigning in one go

Variable declaration and assignment
The expression is evaluated and its value placed in the variable called total.

DofE Training Nat Theatre DofE Training DofE Training DofE Training Nat Theatre