4. Working with data in a program

Image

What you will learn

In the previous chapter, you learned how a program is a sequence of instructions that the computer follows. You saw this in the programs we created that use some of the Snaps. In this chapter, you are going to find out how a computer program manipulates data. You will discover the different forms that data can take—the difference between text data and numeric data, for example, and the two kinds of numeric data, whole numbers and real numbers. You’ll also learn how to create your own data storage in a C# program and how to work with this data by using expressions.

Starting with variables

Get Begin to Code with C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.