Chapter 6: Thread safety and immutable collections
This chapter approaches thread safety through data structures and state management, comparing concurrent, immutable, and frozen collections.
Topics covered
- The purpose and use of .NET concurrent collections.
- How immutable design reduces shared mutable state.
- How to choose among concurrent, immutable, and frozen collections.
This chapter is part of the full edition. The free preview edition does not include its full text.