This book looks at C#'s type system, the foundation upon which all C# programs are built. Steve Love shows how to define and implement value types effectively, and write more performant and robust code. Real-world code examples and test cases throughout are designed to improve your programming with C# and show how best to implement the principles you’re learning.
Author: Steve Love
Publisher: No Starch
Date: October 2023
Audience: C# developers
- How user-defined value types, and even simple types, can enhance your code’s readability
- How reference and value types differ within C#
- How method parameters and arguments relate to reference and value types
- How differences in copy semantics between value and reference types affect a program’s behavior
- How the different methods of value comparisons for equality work behind the scenes
- The unique characteristics and roles of various types in an application, especially how value types go beyond meredata storage
- Why inheritance isn’t optimal for value types
- How to measure and evaluate the performance of an app’s use of different data types
For recommendations of C# books see C# Books - Pick of the Shelf in our Programmer's Bookshelf section.
For more Book Watch just click.
Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.
To have new titles included in Book Watch contact BookWatch@i-programmer.info
Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.