Chapter 3. Getting into the Details of Variables

Initially, computer programming appears difficult to beginners due to the fact how words are used in code. It's not the actual words that cause the problem because, for the most part, many of the words are the same words that we use in our everyday life. C# is not a foreign language. The main problem is that the words simply don't read like the typical sentences we are all used to. You know how to say the words and you know how to spell the words. What you don't know is where and why you need to put them in that crazy looking grammar, that is, the syntax that makes up a C #statement.

In this chapter, we will learn some of the basic rules for writing a C# statement. We will also be introduced to ...

Get Learning C# by Developing Games with Unity 3D Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.