Posts

Showing posts from December, 2017

Understanding variables

Variables provide temporary storage during the execution of a program. Variables in c# are placeholder for values. Variables have a name and type. Based on the variables data type we can determine what kind of values we can store and what kind of operations we can perform on it. For example We can declare a variable names number and assign the value 10. Int number =10; When we declare a variable we also create a location at the right size for the variable. We can also modify the value of the variable and assign different values. Number= 20;