Description
Book SynopsisWritten 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.
Trade Review"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 ReviewTable of ContentsIntroduction
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