Chapter 3. Introduction to C# Applications


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

 --William Shakespeare

When faced with a decision, I always ask, “What would be the most fun?”

 --Peggy Walker


In this chapter you’ll learn:

  • To write simple C# applications using code rather than visual programming.
  • To input data from the keyboard and output data to the screen.
  • To declare and use data of various types.
  • To store and retrieve data from memory.
  • To use arithmetic operators.
  • To determine the order in which operators are applied.
  • To write decision-making statements.
  • To use relational and equality operators.


Get Visual C# 2010: How to Program, Fourth Edition now with O’Reilly online learning.

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