This chapter presented you with another C# source code example with the ability to perform simple calculations. Many essential constructs and concepts were extracted from this program to extend the knowledge you gained from the previous chapter.
The following are the important elements covered in this chapter:
A variable of type int can be used to store whole numbers and can take part in standard arithmetic calculations.
Namespaces help programmers keep their classes organized and accessible to other programmers for reuse purposes.
The System namespace in the .NET Framework class library contains many fundamental classes.
Use comments to describe the overall intent of the source code instead of merely restating what the code does.