Home > Articles > Programming > C#

  • Print
  • + Share This
This chapter is from the book

3.9. 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 WriteLine 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 made decisions using the if statement and the relational and equality operators. As you’ll see in Chapter 4, C# apps typically contain just a few lines of code in method Main—these statements normally create the objects that perform the work of the app. You’ll implement your own classes and use objects of those classes in apps.

  • + Share This
  • 🔖 Save To Your Account