Variables
Lesson 4Author : GOUP
Last Updated : September, 2020
Console.WriteLine("There once was a man named " + characterName); Console.WriteLine("He was " + characterAge + " years old"); Console.WriteLine("He really liked the name " + characterName); Console.WriteLine("But didn't like being " + characterAge);
Console.WriteLine("There once was a man named " + characterName); Console.WriteLine("He was " + characterAge + " years old");
characterAge = 80;
Console.WriteLine("He really liked the name " + characterName); Console.WriteLine("But didn't like being " + characterAge);
Names are case-sensitive and may begin with: letters, _, @ After, may include letters, numbers, _ Convention says Start with a lowercase word, then additional words are capitalized ex. myFirstVariable