C# in Depth

Cover of C# in Depth
Order now (3rd edition)

Productizing Product

Chapter 1: The changing face of C# development: 1.1.1

Created: 1/22/2008
Last updated: 6/21/2008

The Product class in listing 1.1 leaves a few things to be desired. These are partly stylistic, but still far from arbitrary.

All of these points are ones to think about for real code, which has different motivations than sample code in books. In this case, I didn't want to add modifiers like private and sealed, in order to keep the code as simple as possible.