When your program uses variables to get a thorough understanding of the data, you'll know that each program processes data. Data is sometimes a form in a file, sometimes an image in a game, and sometimes an instant message. These are all data. Variables are now useful. The program stores the data with variables. Declare your data to declare a variable, and you should tell the program its type and name. Once C # knows the type of the variable, it will compile when you make a mistake or do something that doesn't make sense, like using "Fido" to subtract 48353.
Variables can have different values when they are run by variable variables. In other words, the value of the variable is variable. (so called "variable" is a good name.) This is important because it is the core idea of the program you write and will write. So if your program sets the Myheight variable to 63;intmyheight=63, every time myheight appears in the code, C # will replace it with its value 63来. Then, if you change it to 12:myheight=12;c#, it will replace myheight--with 12, but this variable is still called Myheight. Whenever your program needs to manipulate numbers, text, true/false values, or any other data, you will use variables to record them.