Skip to Content
Microsoft® Visual C#® 2012 Step by Step
book

Microsoft® Visual C#® 2012 Step by Step

by John Sharp
December 2012
Beginner to intermediate content levelBeginner to intermediate
844 pages
25h 38m
English
Microsoft Press
Content preview from Microsoft® Visual C#® 2012 Step by Step

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 2012 programming environment to build and run a console program and a graphical application. This chapter introduces you 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 that each type ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Visual C#® 2008 Step by Step

Microsoft® Visual C#® 2008 Step by Step

John Sharp
Beginning Microsoft® Visual C#® 2008

Beginning Microsoft® Visual C#® 2008

Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White

Publisher Resources

ISBN: 9780735679375Purchase book