O'Reilly logo

Microsoft® Visual C#® 2005 Step by Step by John Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Working with Variables, Operators, and Expressions

After completing this chapter, you will be able to:

  • Understand statements, identifiers, and keywords.

  • Use variables to store information.

  • Work with primitive data types.

  • Use arithmetic operators such as the plus sign (+) and the minus sign (–).

  • Increment and decrement variables.

In Chapter 1, you learned how to use the Microsoft Visual Studio 2005 programming environment to build and run a console program and a Windows Forms application. In this chapter, you’ll be introduced to the elements of Microsoft Visual C# syntax and semantics, including statements, keywords, and identifiers. You’ll study the primitive types that are built into the C# language and the characteristics of the values ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required