O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

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

3. Introduction to C# Apps

What’s in a name? That which we call a rose by any other name would smell as sweet.

—William Shakespeare

Objectives

In this chapter you’ll:

• Write simple C# apps using code rather than visual programming.

• Input data from the keyboard and output data to the screen.

• Declare and use data of various types.

• Store data in memory and retrieve it.

• Use arithmetic operators.

• Determine the order in which operators are applied.

• Write decision-making statements.

• Use relational and equality operators.

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