Focus video player for keyboard shortcuts
Auto
- HD
- 720p
- 540p
- 360p
1.00x
cc
- 0.50x
- 0.75x
- 1.00x
- 1.25x
- 1.50x
- 1.75x
- 2.00x
We hope you enjoyed this lesson.
Cool lesson, huh? Share it with your friends
About this lesson
An introduction to the concept of Variables and how we will use them in C#
Exercise files
Download this lesson’s related exercise files.
Variables60.7 KB Variables - Solution
57.9 KB
Quick reference
Variables
A variable is like a box that holds things.
When to use
Use variables whenever you have any data that you need to store, in order to use later.
Instructions
To create a string variable:
string name = "John";
Hints & tips
- Variables hold data
- Variables can be changed or deleted
- string name = "John";
Lesson notes are only available for subscribers.