
The C# Type System
Mastering the Type System
Steve Love(Author)
No Starch Press
Published on 31. October 2023
Book
Paperback/Softback
344 pages
978-1-7185-0158-4 (ISBN)
Description
Written for professional programmers or CS students, this book skips the stuff you don't need and keeps a laser focus on the C# type system. It explains not just what value types and reference types are, but why and how they behave as they do. In particular, by learning the underappreciated benefits of value types, you'll quickly be able to optimize the performance of your applications. The book also offers numerous real-world examples and detailed explanations of targeted techniques, best practices, and common pitfalls. You'll progress from simply writing runnable programs using correct C# syntax to developing modern, idiomatic, and efficient applications that take full advantage of C#'s highly scalable type system.
Reviews / Votes
"A detailed analysis of low-level aspects of C# and .NET memory management and performance."-Jon Skeet, Senior Staff Engineer at Google and Convenor of the ECMA Technical Group for C# Standardization
"Exceptionally 'user friendly' in organization and presentation, The C# Type System is the ideal DIY instruction manual that is unreservedly recommended for novice users and seasoned programmers alike."
-Midwest Book Review
More details
Language
English
Place of publication
San Francisco
United States
Product notice
Paperback (trade)
Unsewn / adhesive bound
Dimensions
Height: 236 mm
Width: 183 mm
Thickness: 25 mm
Weight
665 gr
ISBN-13
978-1-7185-0158-4 (9781718501584)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Person
Steve Love has been a professional C# developer for nearly 20 years, and has trained many other C# developers of varying levels of expertise. He writes for the ACCU magazines C Vu and Overload, and is a frequent speaker at conferences. This is the book he wishes he'd had early in his career.
Content
Introduction
Chapter 1: Making the Most of the Type System
Chapter 2: Value and Reference Types
Chapter 3: Reference and Value Parameters
Chapter 4: Implicit and Explicit Copying
Chapter 5: Types of Equality
Chapter 6: The Nature of Values
Chapter 7: Value Types and Polymorphism
Chapter 8: Performance and Efficiency
Afterword
Appendix: Further Reading
Index
Chapter 1: Making the Most of the Type System
Chapter 2: Value and Reference Types
Chapter 3: Reference and Value Parameters
Chapter 4: Implicit and Explicit Copying
Chapter 5: Types of Equality
Chapter 6: The Nature of Values
Chapter 7: Value Types and Polymorphism
Chapter 8: Performance and Efficiency
Afterword
Appendix: Further Reading
Index