In this chapter, we will look at organizing, formatting, and commenting on classes. We will also look at writing clean C# objects and data structures that respect the Law of Demeter. In addition, we will look at immutable objects and data structures and the interfaces and classes that define immutable collections in the System.Collections.Immutable namespace.
We will cover the following broad topics:
- Organizing classes
- Commenting for document generation
- Cohesion and coupling
- The Law of Demeter
- Immutable objects and data structures
As you progress through this chapter, you will learn the following skills:
- How to effectively organize your classes using namespaces.
- Your classes will become smaller and ...