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.10. Wrap-Up

You learned many important features of C# in this chapter. First you learned how to display data on the screen in a Command Prompt using the Console class’s Write and Write-Line methods. Next, we showed how to use format strings and format items to create formatted output strings. You learned how to input data from the keyboard using the Console class’s ReadLine method. We discussed how to perform calculations using C#’s arithmetic operators. Finally, you learned to make decisions using the if statement and the relational and equality operators. The apps presented here introduced you to basic programming concepts. As you’ll see in Chapter 4, C# apps typically contain just a few lines of code in method Main—these statements normally ...

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